X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=bfd3c7830e06b7cff417b9cc2d4fd054b2ab1053;hp=275ccc397ea3d1cafc7a029c2652f3376499c21d;hb=dbea528173f5bc340a5e6cbc59957f8330a50b34;hpb=caf2204c5d9b7aa274a36720baec3e2384515e04;ds=sidebyside diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 275ccc3..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 %]