Replace text with user icon in header bar
I noticed that on smaller screens (iPad, etc) the header bar gets a bit squashed. This patch doesn't fix that entirely but we can save a little space by using an icon instead of "Logged in as" text next to the callsign of the logged-in user.
这个提交包含在:
父节点
4d193fc07f
当前提交
77a8143dc0
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -193,7 +193,7 @@
|
|||
<ul class="navbar-nav">
|
||||
<!-- Logged in As -->
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Logged in as <?php echo $this->session->userdata('user_callsign'); ?></a>
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user"></i> <?php echo $this->session->userdata('user_callsign'); ?></a>
|
||||
|
||||
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" href="<?php echo site_url('user/edit')."/".$this->session->userdata('user_id'); ?>" title="Profile"><i class="far fa-user"></i> Profile</a>
|
||||
|
|
|
|||
正在加载…
在新工单中引用