Display sticky label in linklist
Add sticky label, like private label, in linklist to make it more visible.
This commit is contained in:
parent
90e048594a
commit
d3defcac1c
2 changed files with 18 additions and 9 deletions
tpl/default
|
@ -146,13 +146,14 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
{if="$is_logged_in"}
|
||||
<div class="linklist-item-editbuttons">
|
||||
{if="$value.private"}
|
||||
<span class="label label-private">{$strPrivate}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="linklist-item-editbuttons">
|
||||
{if="$value.sticky"}
|
||||
<span class="label label-sticky">{$strSticky}</span>
|
||||
{/if}
|
||||
{if="$value.private"}
|
||||
<span class="label label-private">{$strPrivate}</span>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<h2>
|
||||
<a href="{$value.real_url}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue