diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-12-12 06:01:31 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-12 06:01:31 +0100 |
commit | 9eba6ff469bdea8f341af06ef23c8bb4bd3a6869 (patch) | |
tree | fc4cf00274b04f03fe3800965ae9779443359354 /tpl/default | |
parent | 0d46b90b44b52bb9c511b18d51752dc16eb5e61b (diff) | |
download | Shaarli-9eba6ff469bdea8f341af06ef23c8bb4bd3a6869.tar.gz Shaarli-9eba6ff469bdea8f341af06ef23c8bb4bd3a6869.tar.zst Shaarli-9eba6ff469bdea8f341af06ef23c8bb4bd3a6869.zip |
Display link count only on linklist
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/linklist.html | 9 | ||||
-rw-r--r-- | tpl/default/page.header.html | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 3d999e9d..bdf7f3eb 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -12,6 +12,15 @@ | |||
12 | 12 | ||
13 | <div id="linklist"> | 13 | <div id="linklist"> |
14 | 14 | ||
15 | <div id="linkcount" class="center"> | ||
16 | {if="!empty($linkcount)"} | ||
17 | <span class="strong">{$linkcount}</span> {function="t('shaare', 'shaares', $linkcount)"} | ||
18 | {if="$privateLinkcount>0"} | ||
19 | · <span class="strong">{$privateLinkcount}</span> {function="t('private link', 'private links', $privateLinkcount)"} | ||
20 | {/if} | ||
21 | {/if} | ||
22 | </div> | ||
23 | |||
15 | {include="linklist.paging"} | 24 | {include="linklist.paging"} |
16 | 25 | ||
17 | <div id="plugin_zone_start_linklist" class="plugin_zone"> | 26 | <div id="plugin_zone_start_linklist" class="plugin_zone"> |
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 36410345..d4963c89 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -186,11 +186,3 @@ | |||
186 | {/if} | 186 | {/if} |
187 | 187 | ||
188 | <div class="clear"></div> | 188 | <div class="clear"></div> |
189 | <div id="linkcount" class="center"> | ||
190 | {if="!empty($linkcount)"} | ||
191 | <span class="strong">{$linkcount}</span> {function="t('shaare', 'shaares', $linkcount)"} | ||
192 | {if="$privateLinkcount>0"} | ||
193 | · <span class="strong">{$privateLinkcount}</span> {function="t('private link', 'private links', $privateLinkcount)"} | ||
194 | {/if} | ||
195 | {/if} | ||
196 | </div> | ||