aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-06-11 14:14:59 +0200
committerGitHub <noreply@github.com>2017-06-11 14:14:59 +0200
commitd5d22a6d07917865c44148ad76f43c65a929a890 (patch)
tree8d666317f8845377adc2645d49da9c3779775c38 /tpl
parent88535f20a9c1bde4d0461561a5a60be6b2bf4745 (diff)
parent49cc8e5d747e6c3504803cf4fa1589fa204e32b5 (diff)
downloadShaarli-d5d22a6d07917865c44148ad76f43c65a929a890.tar.gz
Shaarli-d5d22a6d07917865c44148ad76f43c65a929a890.tar.zst
Shaarli-d5d22a6d07917865c44148ad76f43c65a929a890.zip
Merge pull request #890 from Lucas-C/taglist-cloud_improvments
Tagcloud/list improvments
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/tag.cloud.html7
-rw-r--r--tpl/default/tag.list.html5
2 files changed, 10 insertions, 2 deletions
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html
index 59aa2ee0..96b357a3 100644
--- a/tpl/default/tag.cloud.html
+++ b/tpl/default/tag.cloud.html
@@ -13,6 +13,11 @@
13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> 13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
14 {$countTags=count($tags)} 14 {$countTags=count($tags)}
15 <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> 15 <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2>
16 {if="!empty($search_tags)"}
17 <p class="enter">
18 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a>
19 </p>
20 {/if}
16 21
17 <div id="search-tagcloud" class="pure-g"> 22 <div id="search-tagcloud" class="pure-g">
18 <div class="pure-u-lg-1-4"></div> 23 <div class="pure-u-lg-1-4"></div>
@@ -40,7 +45,7 @@
40 45
41 <div id="cloudtag"> 46 <div id="cloudtag">
42 {loop="tags"} 47 {loop="tags"}
43 <a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a 48 <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a
44 ><a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> 49 ><a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a>
45 {loop="$value.tag_plugin"} 50 {loop="$value.tag_plugin"}
46 {$value} 51 {$value}
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html
index 62e2e7c6..81d6e5af 100644
--- a/tpl/default/tag.list.html
+++ b/tpl/default/tag.list.html
@@ -13,6 +13,9 @@
13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> 13 <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
14 {$countTags=count($tags)} 14 {$countTags=count($tags)}
15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> 15 <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
16 <p style="text-align: center">
17 <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a>
18 </p>
16 19
17 <div id="search-tagcloud" class="pure-g"> 20 <div id="search-tagcloud" class="pure-g">
18 <div class="pure-u-lg-1-4"></div> 21 <div class="pure-u-lg-1-4"></div>
@@ -50,7 +53,7 @@
50 {/if} 53 {/if}
51 54
52 <a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value}</a> 55 <a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value}</a>
53 <a href="?searchtags={$key|urlencode}" class="tag-link">{$key}</a> 56 <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" class="tag-link">{$key}</a>
54 57
55 {loop="$value.tag_plugin"} 58 {loop="$value.tag_plugin"}
56 {$value} 59 {$value}