aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/app.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-21 22:23:36 -0700
committerzotlabs <mike@macgirvin.com>2017-05-21 22:23:36 -0700
commite4448423fbcee4e685b410a62844a245601d2e0b (patch)
treebf39e91682e668386e1d3211431cd85875391639 /view/tpl/app.tpl
parent21103f8bc4d4a54211ba4edaefc1bce694a8fa05 (diff)
downloadvolse-hubzilla-e4448423fbcee4e685b410a62844a245601d2e0b.tar.gz
volse-hubzilla-e4448423fbcee4e685b410a62844a245601d2e0b.tar.bz2
volse-hubzilla-e4448423fbcee4e685b410a62844a245601d2e0b.zip
apporder module and all the associated backend stuff to make it work; probably needs a bit of UI cleanup and a link to it from somewhere
Diffstat (limited to 'view/tpl/app.tpl')
-rw-r--r--view/tpl/app.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 28f28611e..f45510a58 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -25,6 +25,11 @@
{{/if}}
</div>
{{else}}
+{{if $order}}
+<a href="{{$hosturl}}appman/{{$app.guid}}/moveup"><i class="generic-icons-nav fa fa-fw fa-arrow-up"></i></a>
+<a href="{{$hosturl}}appman/{{$app.guid}}/movedown"><i class="generic-icons-nav fa fa-fw fa-arrow-down"></i></a>
+{{if $icon}}<i class="generic-icons-nav fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" style="margin-right:9px;"/>{{/if}}{{$app.name}}<br>
+{{else}}
<a class="dropdown-item" href="{{$app.url}}">{{if $icon}}<i class="generic-icons-nav fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" style="margin-right:9px;"/>{{/if}}{{$app.name}}</a>
{{/if}}
-
+{{/if}}