aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-13 03:11:30 +0000
committerMario <mario@mariovavti.com>2018-12-14 21:31:02 +0100
commitc2ad9d4996840d8b76ca1d29cffc10c7d4723b39 (patch)
tree539accab5a26420e6e15105ccb98954b874c3bb1 /view/tpl
parent79f828125d6e0287a238901e504e82109eed4c93 (diff)
downloadvolse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.tar.gz
volse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.tar.bz2
volse-hubzilla-c2ad9d4996840d8b76ca1d29cffc10c7d4723b39.zip
regression: the ability to order apps messed up since adding pinned apps to the ordering
(cherry picked from commit 6464099364f3d4e800137a57d3b9ff9e8f7601e4)
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/app.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 6013f9548..cacbf7e64 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -31,8 +31,8 @@
<a class="dropdown-item{{if $app.active}} active{{/if}}" 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 $order}}
-<a href="{{$hosturl}}appman/{{$app.guid}}/moveup" class="btn btn-outline-secondary btn-sm" style="margin-bottom: 5px;"><i class="generic-icons-nav fa fa-fw fa-arrow-up"></i></a>
-<a href="{{$hosturl}}appman/{{$app.guid}}/movedown" class="btn btn-outline-secondary btn-sm" style="margin-bottom: 5px;"><i class="generic-icons-nav fa fa-fw fa-arrow-down"></i></a>
+<a href="{{$hosturl}}appman/{{$app.guid}}/moveup{{if $pinned}}/nav_pinned_app{{else}}/nav_featured_app{{/if}}" class="btn btn-outline-secondary btn-sm" style="margin-bottom: 5px;"><i class="generic-icons-nav fa fa-fw fa-arrow-up"></i></a>
+<a href="{{$hosturl}}appman/{{$app.guid}}/movedown{{if $pinned}}/nav_pinned_app{{else}}/nav_featured_app{{/if}}" class="btn btn-outline-secondary btn-sm" style="margin-bottom: 5px;"><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>
{{/if}}