X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=943ea8bb4f904a7d16f283d6b1653f1de45aab7e;hb=526fc48c52a9c86e47ec91f4024e071e85e5f223;hp=00effc9c98cfa637d238404b0e3a7d5f970a5ce0;hpb=c916f3f87b4f42216300293c1aa5ead45f9d9e6e;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index 00effc9..943ea8b 100644
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@ -56,13 +56,16 @@
[% ELSE %]
[% g('Package: %s (%s)', pkg, versions.short) %]
[% END %]
-[%- PROCESS marker text=archive IF archive && archive != main_archive %]
-[%- PROCESS marker text=section IF section && section != main_section %]
-[%- PROCESS marker text=g('essential') IF page.get_newest('essential') == 'yes' %]
+[%- PROCESS marker text=archive title=mirrors.$archive.title url=mirrors.$archive.url IF archive && archive != main_archive %]
+[%- PROCESS marker text=section title=section_titles.$section url=section_urls.$section IF section && section != main_section %]
+[%- PROCESS marker text=g('essential') title=g('package manager will refuse to remove this package by default') url='http://www.debian.org/doc/debian-policy/ch-binary.html#s3.8' IF page.get_newest('essential') == 'yes' %]
[% UNLESS is_virtual %]
[% g('Links for %s', pkg) %]
+[% IF screenshots_url && screenshots_thumb_url && !is_source %]
+
+[% END %]
[% g('%s Resources:', organisation) %]
- [% g('Bug Reports') %]
@@ -86,14 +89,28 @@
SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
IF vcs_info %]
([% vcs_name %])
-[% END; END %]
+[% END; END -%]
-[% END %]
+[% END -%]
+
+[% IF patch_tracking_url && src %]
+ [% FOREACH src.downloads %]
+ [% IF name.match('\.(debian\.tar|diff)\.(gz|bz2|lzma)$') %]
+ - [% g("%s Patch Tracker", organisation) %]
+ [% END -%]
+ [% END -%]
+[% ELSIF patch_tracking_url && is_source %]
+ [% FOREACH srcfiles %]
+ [% IF filename.match('\.(debian\.tar|diff)\.(gz|bz2|lzma)$') %]
+ - [% g("%s Patch Tracker", organisation) %]
+ [% END -%]
+ [% END -%]
+[% END -%]
[% IF src %]
-
[% g('Download Source Package %s:', src.url, src.pkg) %]
+
[% g('Download Source Package %s:', src.url, src.pkg) %]
[% FOREACH src.downloads %]
[% '