source: trunk/themes/smartpocket/template/tags.tpl @ 26805

Last change on this file since 26805 was 23995, checked in by rvelices, 11 years ago

mobile tags page make it "searcheable"

File size: 813 bytes
Line 
1{include file='infos_errors.tpl'}
2<div data-role="content">{if isset($tags)}
3<ul data-role="listview" data-inset="true" data-filter="true">
4        <li data-role="list-divider">{'Tags'|@translate}</li>
5  {foreach from=$tags item=tag}
6        <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>
7        {/foreach}
8</ul>
9{elseif isset($letters)}
10<ul data-role="listview" data-inset="true">
11        {foreach from=$letters item=letter}{foreach from=$letter.tags item=tag}
12        <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>
13        {/foreach}{/foreach}
14</ul>{/if}
15</div>
Note: See TracBrowser for help on using the repository browser.