X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=bfd3c7830e06b7cff417b9cc2d4fd054b2ab1053;hb=ab19fd79bbda7f93e37511413063d4e6d8e880f4;hp=b6179f9ada3d0f543a052b059cd03d98ff930782;hpb=cc6c820a1e503808b7ac1e2bff132de23f87606b;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b6179f9..bfd3c78 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -108,10 +108,17 @@ [%- ELSE -%]

[% g('Maintainers:') %]

[%- END %] -[%- FOREACH maintainers -%] +[%- FOREACH maintainers; + mailarchiveurl = ''; + IF (matches = mail.match('^(.*)@lists\.debian\.org$')); + mailarchiveurl = 'http://lists.debian.org/' _ matches.0 _ '/'; + ELSIF (matches = mail.match('^(.*)@lists\.alioth\.debian\.org$')); + mailarchiveurl = 'http://lists.alioth.debian.org/pipermail/' _ matches.0 _ '/'; + END -%] [%- '' IF loop.last -%] [%- END -%] @@ -121,7 +128,7 @@ IF url %]

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

[% END %] @@ -280,9 +287,9 @@ [%- END %] -[% download_url = pkg _ '/' _ d.arch _ '/download' - filelist_url = pkg _ '/' _ d.arch _ '/filelist' %] -[% d.arch %] +[% download_url = pkg _ '/download' + filelist_url = pkg _ '/filelist' %] +[% d.arch %] [%- SET a = d.archive; IF mirrors.$a.unofficial_port %] [% g('(unofficial port)') %][% END %] [% vnorm = d.version.replace( '\+b\d+$', '' ); vlatest = version.replace( '\+b\d+$', '' ); vup = vnorm.replace( '-[^-]+$', '' ); vuplatest = vlatest.replace( '-[^-]+$', '' ); @@ -297,7 +304,7 @@ [% g('%s kB', num.format_number(d.pkgsize,1)) %][% g('%s kB', d.instsize) %] [% IF d.contents_avail %] - [[% g('list of files') %]] + [[% g('list of files') %]] [% ELSE %] [% g('no current information') %] [% END %]