mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-28 01:30:27 +00:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user