-[% PROCESS 'html/head.tmpl'
- title_tag = "List of sections in \"$suite\""
- page_title = "List of sections in \"$suite\""
+[% nav_arr = [ { name=> suite, url=>make_url('/','','suite',suite) } ];
+ nav_arr.push( { name => g('Source') } ) IF source;
+ nav_arr.push( { name => g('Index') } );
+ PROCESS 'html/head.tmpl'
+ title_tag = g('List of sections in "%s"', suite)
keywords = suite
- navigation = [ { name=> suite },
- { name => 'Index' }, ]
+ navigation = nav_arr
%]
+[% PROCESS 'html/util.inc' %]
+[% FOREACH s IN suites %]
+ [% '<div id="pothers">' IF loop.first %]
+ [%- IF s == suite -%]
+ [% PROCESS menuitem name=s url='' %]
+ [%- ELSE -%]
+ [% PROCESS menuitem name=s url=make_url('/','','suite',s,'source',source) %]
+ [%- END -%]
+ [%- '</div>' IF loop.last -%]
+[% END %]
+
+<h1>[% g('List of sections in "%s"', suite) %]</h1>
[% FOREACH subsections %]
[% '<div id="lefthalfcol"><dl>' IF loop.first %]
[% '</dl></div>' IF loop.last %]
[% END %]
+[% link_title = is_source ? g('List of all source packages')
+ : g('List of all packages');
+ link_text = is_source ? g('All source packages')
+ : g('All packages');
+-%]
<p class="psmallcenter">
- <a href="allpackages" title="List of all packages">All packages</a><br>
- (<a href="allpackages?format=txt.gz">compact compressed textlist</a>)
+ <a href="allpackages" title="[% link_title %]">[% link_text %]</a><br>
+ (<a href="allpackages?format=txt.gz">[% g('compact compressed textlist') %]</a>)
</p>
+
+[%- PROCESS 'html/foot.tmpl' -%]