X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fsuite_index.tmpl;h=465c6930ae0e125483a3a7e78b310457e4f10f2a;hp=ed4f901040065eeeb227c89033a7967b70e368cd;hb=ee1229bf379cb681a4805bf97ecdea9e60a7efb8;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac diff --git a/templates/html/suite_index.tmpl b/templates/html/suite_index.tmpl index ed4f901..465c693 100644 --- a/templates/html/suite_index.tmpl +++ b/templates/html/suite_index.tmpl @@ -1,10 +1,23 @@ -[% PROCESS 'html/head.tmpl' +[% nav_arr = [ { name=> suite, url=>make_url('/','','suite',suite) } ]; + nav_arr.push( { name => 'Source' } ) IF source; + nav_arr.push( { name => 'Index' } ); + PROCESS 'html/head.tmpl' title_tag = "List of sections in \"$suite\"" - page_title = "List of sections in \"$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 %] + +

List of sections in "[% suite %]"

[% FOREACH subsections %] [% '
' IF loop.first %] @@ -23,6 +36,8 @@ [% END %]

- All packages
+ All [% "source " IF source %]packages
(compact compressed textlist)

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