aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-01-24 18:46:31 +0100
committerArthurHoaro <arthur@hoa.ro>2018-01-24 18:46:31 +0100
commitd2f6d909e529898c43b32defb890ec8e2d6b72f5 (patch)
tree1c75ee1302f9968e8a25d5157347d5d4c8c52519 /tpl
parent9d4736a3e95332198896f97ecc8a83abb0cbe85b (diff)
downloadShaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.tar.gz
Shaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.tar.zst
Shaarli-d2f6d909e529898c43b32defb890ec8e2d6b72f5.zip
Public/private filter: use two separate buttons
#1038
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/linklist.paging.html9
-rw-r--r--tpl/vintage/linklist.paging.html4
2 files changed, 8 insertions, 5 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}
diff --git a/tpl/vintage/linklist.paging.html b/tpl/vintage/linklist.paging.html
index 156a6b2a..12828a97 100644
--- a/tpl/vintage/linklist.paging.html
+++ b/tpl/vintage/linklist.paging.html
@@ -1,8 +1,8 @@
1<div class="paging"> 1<div class="paging">
2{if="isLoggedIn()"} 2{if="isLoggedIn()"}
3 <div class="paging_privatelinks"> 3 <div class="paging_privatelinks">
4 <a href="?visibility={$nextVisibility}"> 4 <a href="?visibility=private">
5 {if="$visibility=='private' || $visibility=='public'"} 5 {if="$visibility=='private'"}
6 <img src="images/private_16x16_active.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility"> 6 <img src="images/private_16x16_active.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility">
7 {else} 7 {else}
8 <img src="images/private_16x16.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility"> 8 <img src="images/private_16x16.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility">