diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-09 19:15:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 19:15:47 +0100 |
commit | 9c5daad19c850d852f2e78ca571ad199362c0ffe (patch) | |
tree | 856bdcfe728cba86331a9d7c35d41d558d0fe00a /tpl/default | |
parent | 1e38df6606a1faf86f5f6b2e94b61dec250db622 (diff) | |
parent | e6cd773f5a8bd757c9362524cfeb3f7cb7fa81c9 (diff) | |
download | Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.gz Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.tar.zst Shaarli-9c5daad19c850d852f2e78ca571ad199362c0ffe.zip |
Merge pull request #792 from ArthurHoaro/feature/private-filter-visual
Display private only filter as search criteria
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/css/shaarli.css | 4 | ||||
-rw-r--r-- | tpl/default/linklist.html | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index b937c596..d33e9066 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css | |||
@@ -985,6 +985,10 @@ div.awesomplete > ul { | |||
985 | margin: 0 0 0 5px; | 985 | margin: 0 0 0 5px; |
986 | } | 986 | } |
987 | 987 | ||
988 | .search-result .label-private { | ||
989 | border: 1px solid white; | ||
990 | } | ||
991 | |||
988 | /** | 992 | /** |
989 | * TOOLS | 993 | * TOOLS |
990 | */ | 994 | */ |
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 9bc3ba1a..94370203 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -89,7 +89,7 @@ | |||
89 | <div id="searchcriteria">{'Nothing found.'|t}</div> | 89 | <div id="searchcriteria">{'Nothing found.'|t}</div> |
90 | </div> | 90 | </div> |
91 | </div> | 91 | </div> |
92 | {elseif="!empty($search_term) or !empty($search_tags)"} | 92 | {elseif="!empty($search_term) or !empty($search_tags) or !empty($visibility)"} |
93 | <div class="pure-g pure-alert pure-alert-success search-result"> | 93 | <div class="pure-g pure-alert pure-alert-success search-result"> |
94 | <div class="pure-u-2-24"></div> | 94 | <div class="pure-u-2-24"></div> |
95 | <div class="pure-u-20-24"> | 95 | <div class="pure-u-20-24"> |
@@ -106,6 +106,12 @@ | |||
106 | </span> | 106 | </span> |
107 | {/loop} | 107 | {/loop} |
108 | {/if} | 108 | {/if} |
109 | {if="!empty($visibility)"} | ||
110 | {'with status'|t} | ||
111 | <span class="label label-private"> | ||
112 | {$visibility|t} | ||
113 | </span> | ||
114 | {/if} | ||
109 | </div> | 115 | </div> |
110 | </div> | 116 | </div> |
111 | {/if} | 117 | {/if} |