]> git.deb.at Git - deb/packages.git/blob - templates/html/index_head.tmpl
"translate" new string
[deb/packages.git] / templates / html / index_head.tmpl
1 [% IF is_source;
2         title_common = category ? g('Source Packages in "%s", %s %s', suite, g(category.id), category.name)
3                                 : g('Source Packages in "%s"', suite);
4    ELSE;
5         title_common = category ? g('Software Packages in "%s", %s %s', suite, g(category.id), category.name)
6                                 : g('Software Packages in "%s"', suite);
7    END;
8
9    nav_arr = [ { prefix=>g('Distribution:'), title=>g('Overview over this suite'), url=>make_url('/','','suite',suite), name=>suite } ];
10    IF category;
11         nav_last = { prefix=>g(category.id) _ ":", name=>category.name };
12    ELSE;
13         nav_last = { name=>g('All Packages') };
14    END;
15    nav_arr.push( { name=>g('Source'),
16                    url=>make_url('/','','suite',suite,'source','source') } )
17         IF is_source;
18    nav_arr.push( nav_last );
19 %]
20 [% PROCESS 'html/head.tmpl' 
21         title_tag = title_common
22         page_title = title_common
23         keywords = "$suite, $category.name"
24         navigation = nav_arr
25 %]
26
27 <dl>