File: breadcrumbs.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 (14 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div id="breadcrumbs">
    <div class="float-left">
    [% FOREACH page IN path_pages %]
        [% IF loop.first +%]
        <a href="[% c.uri_for('/') %]">[% c.pref("name") %]</a>
        [% ELSE +%]
        / <a href="[% c.uri_for(page.path) %]">[% c.expand_wikilink(page.name_orig) %]</a>
        [% END %]
    [% END %]
    [% FOREACH page IN proto_pages +%]
        / <a class="protoPage" href="[% c.uri_for( page.path) %]">[% c.expand_wikilink(page.name_orig) %]</a>
    [% END +%]
    </div>
</div>