diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-07 10:43:13 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-07 10:43:13 +0100 |
commit | 549866c0900c1ff550e001323c59a74352920770 (patch) | |
tree | 145d316103646e7953c4a86bfff49b99411e5278 /view/tpl/navbar_default.tpl | |
parent | d16bbfb224c218b04676d890c647b6d1c5d92273 (diff) | |
download | volse-hubzilla-549866c0900c1ff550e001323c59a74352920770.tar.gz volse-hubzilla-549866c0900c1ff550e001323c59a74352920770.tar.bz2 volse-hubzilla-549866c0900c1ff550e001323c59a74352920770.zip |
add location info to the navbar
Diffstat (limited to 'view/tpl/navbar_default.tpl')
-rwxr-xr-x | view/tpl/navbar_default.tpl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index b330993c8..4f0b9a110 100755 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -17,8 +17,8 @@ </div> {{/if}} {{if $userinfo}} -<div class="dropdown usermenu"> - <div class="fakelink" data-toggle="dropdown"> +<div class="dropdown"> + <div class="fakelink usermenu" data-toggle="dropdown"> <img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"> <i class="fa fa-caret-down"></i> </div> @@ -60,7 +60,13 @@ {{/if}} </div> <div class="navbar-nav mr-auto"> - <div><a id="nav-app-link" href="{{$url}}" class="nav-link">{{$sel.name}}</a></div> + <a id="nav-app-link" href="{{$url}}" class="nav-link" style="padding: .175rem;{{if $sitelocation}} line-height: 1; height:2.35rem;{{/if}}"> + {{$sel.name}} + {{if $sitelocation}} + <br> + <small class="text-muted">{{$sitelocation}}</small> + {{/if}} + </a> </div> {{/if}} <div class="navbar-toggler-right"> |