aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-08 19:22:09 -0800
committerzotlabs <mike@macgirvin.com>2017-11-08 19:22:09 -0800
commit909f67fb3a53461ce0010a205121996297909051 (patch)
tree143186140e12020da2b67bf3b137d4899012d201 /view/tpl
parent92e0c502f76f5a3acc0498f45a0fe836973c554c (diff)
parente7d20efb1b8d579bcb9bdef99205aad19281f6b2 (diff)
downloadvolse-hubzilla-909f67fb3a53461ce0010a205121996297909051.tar.gz
volse-hubzilla-909f67fb3a53461ce0010a205121996297909051.tar.bz2
volse-hubzilla-909f67fb3a53461ce0010a205121996297909051.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/navbar_default.tpl15
1 files changed, 11 insertions, 4 deletions
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index b330993c8..426d32047 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>
@@ -59,10 +59,17 @@
</div>
{{/if}}
</div>
-<div class="navbar-nav mr-auto">
- <div><a id="nav-app-link" href="{{$url}}" class="nav-link">{{$sel.name}}</a></div>
+{{if $sel.name}}
+<div id="nav-app-link-wrapper" class="navbar-nav mr-auto">
+ <a id="nav-app-link" href="{{$url}}" class="nav-link text-truncate">
+ {{$sel.name}}
+ {{if $sitelocation}}
+ <br><small class="text-muted">{{$sitelocation}}</small>
+ {{/if}}
+ </a>
</div>
{{/if}}
+{{/if}}
<div class="navbar-toggler-right">
{{if $nav.help.6}}
<button id="context-help-btn" class="navbar-toggler border-0" type="button" onclick="contextualHelp(); return false;">