aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/nav.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-21 16:34:14 -0700
committerfriendica <info@friendica.com>2014-10-21 16:34:14 -0700
commit35be89ad66033ca5254234ade900e524e210ce3a (patch)
tree732bd4bbbc8100e939b332c3f0277df2c4047458 /view/tpl/nav.tpl
parented7712cfbf9835368de79f8686954b536c12e4d1 (diff)
parent1fb2de6d55779c853e25d38f5b93133a5414d72a (diff)
downloadvolse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.tar.gz
volse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.tar.bz2
volse-hubzilla-35be89ad66033ca5254234ade900e524e210ce3a.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-xview/tpl/nav.tpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index bc9d0ba37..a283b35a8 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -50,12 +50,16 @@
{{if $nav.register}}<li class="{{$nav.register.2}}"><a href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a><li>{{/if}}
{{if !$userinfo}}
{{if $nav.loginmenu}}
- <li class="{{$nav.loginmenu.0.2}}"><a data-toggle="dropdown" data-target="#" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" >{{$nav.loginmenu.0.1}} <span class="caret" id="usermenu-caret"></span></a>
- <ul class="dropdown-menu" role="menu">
+ <li class="{{$nav.loginmenu.0.2}} hidden-xs"><a data-toggle="dropdown" data-target="#" href="{{$nav.loginmenu.0.0}}" title="{{$nav.loginmenu.0.3}}" >{{$nav.loginmenu.0.1}} <span class="caret" id="usermenu-caret"></span></a>
+ <ul class="dropdown-menu" role="menu">
+ {{foreach $nav.loginmenu as $loginmenu}}
+ <li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
+ {{/foreach}}
+ </ul>
+ </li>
{{foreach $nav.loginmenu as $loginmenu}}
- <li role="presentation"><a class="{{$loginmenu.2}}" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
+ <li role="presentation"><a class="{{$loginmenu.2}} visible-xs" href="{{$loginmenu.0}}" title="{{$loginmenu.3}}" role="menuitem">{{$loginmenu.1}}</a></li>
{{/foreach}}
- </ul></li>
{{/if}}
{{/if}}