aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-12-04 09:49:32 +0100
committerMax Kostikov <max@kostikov.co>2019-12-04 09:49:32 +0100
commitf4516826ef576ea0f0c9f25dbf9217693b7bb543 (patch)
tree3ab93fb909edc6243e2d0bb11640cbf3f625ac13
parentb894380f86d84599a1c0bfec0e32125e6cc3e20e (diff)
downloadvolse-hubzilla-f4516826ef576ea0f0c9f25dbf9217693b7bb543.tar.gz
volse-hubzilla-f4516826ef576ea0f0c9f25dbf9217693b7bb543.tar.bz2
volse-hubzilla-f4516826ef576ea0f0c9f25dbf9217693b7bb543.zip
Add unpin button for pinned item
-rw-r--r--view/tpl/pinned_item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/pinned_item.tpl b/view/tpl/pinned_item.tpl
index 0dad276d0..bfbdc87ff 100644
--- a/view/tpl/pinned_item.tpl
+++ b/view/tpl/pinned_item.tpl
@@ -137,10 +137,10 @@
{{if $plink}}
<a class="dropdown-item" href="{{$plink.href}}" title="{{$plink.title}}" class="u-url"><i class="generic-icons-nav fa fa-fw fa-external-link"></i>{{$plink.title}}</a>
{{/if}}
+ <a class="dropdown-item dropdown-item-pinnable" href="#" onclick="dopin({{$item.id}}); return false;"><i class="generic-icons-nav fa fa-fw fa-thumb-tack"></i>{{$item.pinme}}</a>
{{if $hide}}
<a class="dropdown-item" href="#" onclick="dopinhide({{$id}}); return false;" class="u-url"><i class="generic-icons-nav fa fa-fw fa-remove"></i>{{$hide}}</a>
{{/if}}
-
</div>
</div>
</div>