X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=1056fe95ea645f26e983b6cc8631d5303e6eeadd;hb=694cb1687b2502b24c32f1f10b6a227fa484920e;hp=5389798b472ced60600a0a9d74d291b64d4991ca;hpb=269a9d46938e0b4d178642ae8315602f9e5f3349;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 5389798..1056fe9 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 -%] @@ -114,6 +115,8 @@ mailarchiveurl = 'http://lists.debian.org/' _ matches.0 _ '/'; ELSIF (matches = mail.match('^(.*)@lists\.alioth\.debian\.org$')); mailarchiveurl = 'http://lists.alioth.debian.org/pipermail/' _ matches.0 _ '/'; + ELSIF (matches = mail.match('^(.*)@lists\.ubuntu\.com$')); + mailarchiveurl = 'http://lists.ubuntu.com/archives/' _ matches.0 _ '/'; END -%] [%- '