X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=5389798b472ced60600a0a9d74d291b64d4991ca;hb=13565c2add3c1f4c501cf0cba64cac10537e2eac;hp=d68b02c6adff1669d57efd77d77e164167679ddd;hpb=5899032da403b2f727a399fa28ba93bb10a09759;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index d68b02c..5389798 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 -%] @@ -249,7 +256,7 @@ [% js_id = name %] [% FOREACH provider IN providers.pkgs.sort %][% provider %][% ', ' UNLESS loop.last %][% END %] [% IF providers.pkgs.size > 10 %] - + [% END %] [% END %]