X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=5389798b472ced60600a0a9d74d291b64d4991ca;hb=269a9d46938e0b4d178642ae8315602f9e5f3349;hp=b6179f9ada3d0f543a052b059cd03d98ff930782;hpb=2ce97a428f8c822ca734d60a8be0a02edeb8573e;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index b6179f9..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 -%]
@@ -121,7 +128,7 @@
IF url %]
[% g('External Resources:') %]
[% 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 %]
@@ -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 %]
|