aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/tags.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/smartpocket/template/tags.tpl')
-rw-r--r--themes/smartpocket/template/tags.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/smartpocket/template/tags.tpl b/themes/smartpocket/template/tags.tpl
new file mode 100644
index 000000000..c0c9f6e5a
--- /dev/null
+++ b/themes/smartpocket/template/tags.tpl
@@ -0,0 +1,15 @@
+{include file='infos_errors.tpl'}
+<div data-role="content">{if isset($tags)}
+<ul data-role="listview" data-inset="true" data-filter="true">
+ <li data-role="list-divider">{'Tags'|@translate}</li>
+ {foreach from=$tags item=tag}
+ <li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
+ {/foreach}
+</ul>
+{elseif isset($letters)}
+<ul data-role="listview" data-inset="true">
+ {foreach from=$letters item=letter}{foreach from=$letter.tags item=tag}
+ <li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
+ {/foreach}{/foreach}
+</ul>{/if}
+</div>