File: cloud.tt

package info (click to toggle)
libmojomojo-perl 1.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,496 kB
  • ctags: 927
  • sloc: perl: 14,671; sh: 148; xml: 120; makefile: 8; ruby: 6
file content (20 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[% SET title = loc('Tags under x', page.name) %]
[% WRAPPER page/wrapper.tt title=title index_page=1 %]

<div id="content">
[%
    IF cloud.tags(1); 
        cloud.html_and_css(50);
    ELSE;
        loc('No tags in use.');
    END;
%]
[% IF page.depth %]
    <p>
        [% SET link = '<a href="' _ c.uri_for('/.tags') _ '">' _ loc('All tags') _ '</a>' %]
        [% loc('Or you can check out x instead', link) %]
    </p>
[% END %]
</div>

[% END # WRAPPER %]