X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=936d3b4ca583e13fc54fe74fdad842d3656addd9;hb=90b0f82cb322fd8ffbb4fb3f2207c09f3691aeba;hp=048b7d0d6d72f62116b67dfa34b8672d8694ce69;hpb=e594b1fe3f88069be790f9954e66219f9ae5ae97;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 048b7d0..936d3b4 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -56,14 +56,14 @@
[% ELSE %]
[% g('Links for %s', pkg) %]
-
[% g('Debian Resources:') %]
+
[% g('%s Resources:', organisation) %]
@@ -112,14 +126,16 @@
[%- FOREACH maintainers;
mailarchiveurl = '';
IF (matches = mail.match('^(.*)@lists\.debian\.org$'));
- mailarchiveurl = 'http://lists.debian.org/' _ matches.0 _ '/';
+ mailarchiveurl = 'http://lists.debian.org/' _ uri_escape(matches.0) _ '/';
ELSIF (matches = mail.match('^(.*)@lists\.alioth\.debian\.org$'));
- mailarchiveurl = 'http://lists.alioth.debian.org/pipermail/' _ matches.0 _ '/';
+ mailarchiveurl = 'http://lists.alioth.debian.org/pipermail/' _ uri_escape(matches.0) _ '/';
+ ELSIF (matches = mail.match('^(.*)@lists\.ubuntu\.com$'));
+ mailarchiveurl = 'http://lists.ubuntu.com/archives/' _ uri_escape(matches.0) _ '/';
END -%]
[%- '
' IF loop.last -%]
[%- END -%]
@@ -129,7 +145,7 @@
IF url %]
[% g('External Resources:') %]
[% END %]
@@ -183,7 +199,7 @@
[% FOREACH tag IN tags %]
[% IF loop.first -%]
[%- END %]
@@ -359,4 +380,4 @@
[%# %]
-[%- PROCESS 'html/foot.tmpl' -%]
+[%- PROCESS 'html/foot.tmpl' page_name=pkg -%]