aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 22:42:16 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 22:42:16 +0100
commit241a0829dc59c9c4376c10bc2f4ca833510f29eb (patch)
treedb0d0cbbe86dc11963b2de5cab73b42ca732aa51 /view/tpl
parent66a0b4790e97252a93b14c555c5c7fdb6eae5b47 (diff)
downloadvolse-hubzilla-241a0829dc59c9c4376c10bc2f4ca833510f29eb.tar.gz
volse-hubzilla-241a0829dc59c9c4376c10bc2f4ca833510f29eb.tar.bz2
volse-hubzilla-241a0829dc59c9c4376c10bc2f4ca833510f29eb.zip
fix issues with apporder related to recent pinned apps changes
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/apporder.tpl16
1 files changed, 12 insertions, 4 deletions
diff --git a/view/tpl/apporder.tpl b/view/tpl/apporder.tpl
index fdb726131..8a247f11d 100644
--- a/view/tpl/apporder.tpl
+++ b/view/tpl/apporder.tpl
@@ -1,7 +1,15 @@
-<h2>{{$header}}</h2>
-
-<div class="descriptive-text">{{$desc}}</div>
-<br><br><br>
+{{if $navbar_apps}}
+<h2>{{$header.0}}</h2>
+<div class="descriptive-text">{{$desc.0}}</div>
+<br><br>
+{{foreach $navbar_apps as $navbar_app}}
+{{$navbar_app}}
+{{/foreach}}
+<br><br>
+{{/if}}
+<h2>{{$header.1}}</h2>
+<div class="descriptive-text">{{$desc.1}}</div>
+<br><br>
{{foreach $nav_apps as $nav_app}}
{{$nav_app}}
{{/foreach}}