From 70edcabca1e9341b857c469760c88e5c9d318c53 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 6 Feb 2017 20:10:10 +0100 Subject: move icon stuff back to app_render() and send navapps through app_render() --- view/tpl/app.tpl | 6 +++++- view/tpl/nav.tpl | 8 +++++++- view/tpl/navapps.tpl | 8 -------- 3 files changed, 12 insertions(+), 10 deletions(-) delete mode 100644 view/tpl/navapps.tpl (limited to 'view/tpl') diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index d4b4c19e8..2ecb5a701 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -1,6 +1,7 @@ +{{if !$navapps}}
@@ -24,4 +25,7 @@
{{/if}} +{{else}} +
  • {{if $icon}}{{else}}{{/if}}{{$app.name}}
  • +{{/if}} diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 972b919fa..236cde230 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -170,7 +170,13 @@
  • diff --git a/view/tpl/navapps.tpl b/view/tpl/navapps.tpl deleted file mode 100644 index 735c322e5..000000000 --- a/view/tpl/navapps.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{foreach $apps as $app}} -
  • {{if $app.icon}}{{else}}{{/if}}{{$app.name}}
  • -{{/foreach}} -{{if $localuser}} -
  • -
  • Add Apps
  • -{{/if}} - -- cgit v1.2.3