aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 22:15:51 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 22:15:51 +0100
commit66a0b4790e97252a93b14c555c5c7fdb6eae5b47 (patch)
treec35fb448532bfbf6660dca1dfee7f50f6afba001 /view/tpl
parent46ab7ca78650441165017fc0c772506e200820e3 (diff)
downloadvolse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.tar.gz
volse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.tar.bz2
volse-hubzilla-66a0b4790e97252a93b14c555c5c7fdb6eae5b47.zip
fix pinned apps not available in mobile view
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/app_nav.tpl2
-rwxr-xr-xview/tpl/navbar_default.tpl3
2 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/app_nav.tpl b/view/tpl/app_nav.tpl
index 046cd7237..817c74763 100644
--- a/view/tpl/app_nav.tpl
+++ b/view/tpl/app_nav.tpl
@@ -1 +1 @@
-<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" >{{if $icon}}<i class="fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}</a>
+<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" >{{if $icon}}<i class="fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}<span class="d-lg-none">{{$app.name}}</span></a>
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index 62524ad5b..c4f5af1dc 100755
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -195,6 +195,9 @@
</div>
<div id="sys-apps-collapsed" style="display:none;">
{{/if}}
+ {{foreach $navbar_apps as $navbar_app}}
+ {{$navbar_app}}
+ {{/foreach}}
{{foreach $nav_apps as $nav_app}}
{{$nav_app|replace:'dropdown-item':'nav-link'}}
{{/foreach}}