diff options
author | ArthurHoaro <arthur@hoa.ro> | 2019-04-22 11:23:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2019-04-22 11:26:37 +0200 |
commit | d3defcac1c6785ea074070ba6290e68efe16b1a8 (patch) | |
tree | 30e796201b66a2cf4883a79342e07414cd79a342 /tpl/default | |
parent | 90e048594a2981ac510d024a4f0ae2d5f188a176 (diff) | |
download | Shaarli-d3defcac1c6785ea074070ba6290e68efe16b1a8.tar.gz Shaarli-d3defcac1c6785ea074070ba6290e68efe16b1a8.tar.zst Shaarli-d3defcac1c6785ea074070ba6290e68efe16b1a8.zip |
Display sticky label in linklist
Add sticky label, like private label, in linklist to make it more visible.
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/linklist.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index d7005c21..a43786de 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -146,13 +146,14 @@ | |||
146 | </div> | 146 | </div> |
147 | {/if} | 147 | {/if} |
148 | 148 | ||
149 | {if="$is_logged_in"} | 149 | <div class="linklist-item-editbuttons"> |
150 | <div class="linklist-item-editbuttons"> | 150 | {if="$value.sticky"} |
151 | {if="$value.private"} | 151 | <span class="label label-sticky">{$strSticky}</span> |
152 | <span class="label label-private">{$strPrivate}</span> | 152 | {/if} |
153 | {/if} | 153 | {if="$value.private"} |
154 | </div> | 154 | <span class="label label-private">{$strPrivate}</span> |
155 | {/if} | 155 | {/if} |
156 | </div> | ||
156 | 157 | ||
157 | <h2> | 158 | <h2> |
158 | <a href="{$value.real_url}"> | 159 | <a href="{$value.real_url}"> |