X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fsuite_index.tmpl;h=baf70e4c4c6d2cb59aadc321b54d1579bab6588e;hb=48f3321140ad5bcc857d33ca335244f4685afdb1;hp=ed4f901040065eeeb227c89033a7967b70e368cd;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac;p=deb%2Fpackages.git diff --git a/templates/html/suite_index.tmpl b/templates/html/suite_index.tmpl index ed4f901..baf70e4 100644 --- a/templates/html/suite_index.tmpl +++ b/templates/html/suite_index.tmpl @@ -1,10 +1,23 @@ -[% 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/menu.inc' %] +[% FOREACH s IN suites %] + [% '
' IF loop.first %] + [%- IF s == suite -%] + [% PROCESS menuitem name=s url='' %] + [%- ELSE -%] + [% PROCESS menuitem name=s url=make_url('/','','suite',s,'source',source) %] + [%- END -%] + [%- '
' IF loop.last -%] +[% END %] + +

[% g('List of sections in "%s"', suite) %]

[% FOREACH subsections %] [% '
' IF loop.first %] @@ -22,7 +35,14 @@ [% '
' 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'); +-%]

- All packages
- (compact compressed textlist) + [% link_text %]
+ ([% g('compact compressed textlist') %])

+ +[%- PROCESS 'html/foot.tmpl' -%]