X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=943ea8bb4f904a7d16f283d6b1653f1de45aab7e;hb=526fc48c52a9c86e47ec91f4024e071e85e5f223;hp=d68b02c6adff1669d57efd77d77e164167679ddd;hpb=8290599bd43de836a8a02b547a1b1b41f9f25871;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index d68b02c..943ea8b 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -16,7 +16,8 @@ nav_arr.push( { prefix=>g('Section:'), title=>g('All packages in this section'), url=>make_url("$subsection/"), name=>subsection } ); nav_arr.push( { prefix=>g('Package:'), name=>pkg } ); -%] [% desclang = 'en'; - SET desclang = lang IF desc.$lang.long %] + SET desclang = po_lang IF desc.$po_lang.long; + SET desclang = ddtp_lang IF desc.$ddtp_lang.long %] [%- PROCESS 'html/head.tmpl' title_tag = is_source ? g('Details of source package %s in %s', pkg, suite) : g('Details of package %s in %s', pkg, suite) @@ -29,7 +30,7 @@ navigation = nav_arr -%] -[% PROCESS 'html/menu.inc' %] +[% PROCESS 'html/util.inc' %] [% FOREACH s IN suites %] [% '
' IF loop.first %] [%- IF s == suite -%] @@ -55,14 +56,17 @@ [% ELSE %]

[% g('Package: %s (%s)', pkg, versions.short) %] [% END %] -[%- PROCESS marker text=archive IF archive && archive != main_archive %] -[%- PROCESS marker text=section IF section && section != main_section %] -[%- PROCESS marker text=g('essential') IF page.get_newest('essential') == 'yes' %]

+[%- PROCESS marker text=archive title=mirrors.$archive.title url=mirrors.$archive.url IF archive && archive != main_archive %] +[%- PROCESS marker text=section title=section_titles.$section url=section_urls.$section IF section && section != main_section %] +[%- PROCESS marker text=g('essential') title=g('package manager will refuse to remove this package by default') url='http://www.debian.org/doc/debian-policy/ch-binary.html#s3.8' IF page.get_newest('essential') == 'yes' %] [% UNLESS is_virtual %]

[% g('Links for %s', pkg) %]

-

[% g('Debian Resources:') %]

+[% IF screenshots_url && screenshots_thumb_url && !is_source %] +Screenshot +[% END %] +

[% g('%s Resources:', organisation) %]

[% IF src %] -

[% g('Download Source Package %s:', src.url, src.pkg) %] +

[% g('Download Source Package %s:', src.url, src.pkg) %]

[% FOREACH src.downloads %] [% '