X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=inline;f=templates%2Fhtml%2Fshow.tmpl;h=5389798b472ced60600a0a9d74d291b64d4991ca;hb=c23b6c0961fff9cabeb4a072e911f7c1c983ad7e;hp=d68b02c6adff1669d57efd77d77e164167679ddd;hpb=3954845023a55026b0e57a131877cfd1b7fdc0b7;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 %]