X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=bfd3c7830e06b7cff417b9cc2d4fd054b2ab1053;hb=ca01953be2069f3a8a3b296de47babde91db9a6a;hp=d68b02c6adff1669d57efd77d77e164167679ddd;hpb=8290599bd43de836a8a02b547a1b1b41f9f25871;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index d68b02c..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 -%]