diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-05-22 22:44:38 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-10-06 12:55:05 +0200 |
commit | 4154c25b5f2f8044a37d7f84e04173bb54f2375b (patch) | |
tree | e7f61835072a54eee8590286496bdbbbef0e4a37 /tpl/default | |
parent | 10a7b5cee96a742fbe86edbea977f3c55c92e9aa (diff) | |
download | Shaarli-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.html | 6 |
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&id={$value.id}&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}"> |