aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-05-22 22:44:38 +0200
committerArthurHoaro <arthur@hoa.ro>2018-10-06 12:55:05 +0200
commit4154c25b5f2f8044a37d7f84e04173bb54f2375b (patch)
treee7f61835072a54eee8590286496bdbbbef0e4a37 /tpl/default
parent10a7b5cee96a742fbe86edbea977f3c55c92e9aa (diff)
downloadShaarli-4154c25b5f2f8044a37d7f84e04173bb54f2375b.tar.gz
Shaarli-4154c25b5f2f8044a37d7f84e04173bb54f2375b.tar.zst
Shaarli-4154c25b5f2f8044a37d7f84e04173bb54f2375b.zip
Add a button to set links as sticky
Meaning that they always appear on top of all links Fixes #186
Diffstat (limited to 'tpl/default')
-rw-r--r--tpl/default/linklist.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index 8ea2ce66..aaa9bc74 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -201,6 +201,12 @@
201 <i class="fa fa-trash"></i> 201 <i class="fa fa-trash"></i>
202 </a> 202 </a>
203 </span> 203 </span>
204 <span class="linklist-item-infos-controls-item ctrl-pin">
205 <a href="?do=pin&amp;id={$value.id}&amp;token={$token}"
206 title="{$strDelete}" class="pin-link {if="$value.sticky"}pinned-link{/if} pure-u-0 pure-u-lg-visible">
207 <i class="fa fa-thumb-tack"></i>
208 </a>
209 </span>
204 </div> 210 </div>
205 {/if} 211 {/if}
206 <a href="?{$value.shorturl}" title="{$strPermalink}"> 212 <a href="?{$value.shorturl}" title="{$strPermalink}">