diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-01-24 18:46:31 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-01-24 18:46:31 +0100 |
commit | d2f6d909e529898c43b32defb890ec8e2d6b72f5 (patch) | |
tree | 1c75ee1302f9968e8a25d5157347d5d4c8c52519 /tpl/default | |
parent | 9d4736a3e95332198896f97ecc8a83abb0cbe85b (diff) | |
download | Shaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.tar.gz Shaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.tar.zst Shaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.zip |
Public/private filter: use two separate buttons
#1038
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/linklist.paging.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html index e1726f87..72bdd931 100644 --- a/tpl/default/linklist.paging.html +++ b/tpl/default/linklist.paging.html | |||
@@ -6,9 +6,12 @@ | |||
6 | {'Filters'|t} | 6 | {'Filters'|t} |
7 | </span> | 7 | </span> |
8 | {if="isLoggedIn()"} | 8 | {if="isLoggedIn()"} |
9 | <a href="?visibility={$nextVisibility}" title="{'Filter links by visibility'|t}" | 9 | <a href="?visibility=private" title="{'Only display private links'|t}" |
10 | class="{if="$visibility=='private'"}filter-on{elseif="$visibility=='public'"}filter-block{else}filter-off{/if}" | 10 | class="{if="$visibility==='private'"}filter-on{else}filter-off{/if}" |
11 | ><i class="fa fa-key"></i></a> | 11 | ><i class="fa fa-user-secret"></i></a> |
12 | <a href="?visibility=public" title="{'Only display public links'|t}" | ||
13 | class="{if="$visibility==='public'"}filter-on{else}filter-off{/if}" | ||
14 | ><i class="fa fa-globe"></i></a> | ||
12 | {/if} | 15 | {/if} |
13 | <a href="?untaggedonly" title="{'Filter untagged links'|t}" | 16 | <a href="?untaggedonly" title="{'Filter untagged links'|t}" |
14 | class={if="$untaggedonly"}"filter-on"{else}"filter-off"{/if} | 17 | class={if="$untaggedonly"}"filter-on"{else}"filter-off"{/if} |