X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=f806dc7b8bcced4846a7310403d953ee6be8abc6;hb=f862c13f95547609782da3d9a30ed5c50d8a62d7;hp=ec7f2d7deec38950d6e8a6b1cb20f02c19144544;hpb=aa2e0fe2326ca54e2cc46959968ba6234f105e25;p=deb%2Fpackages.git
diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl
index ec7f2d7..f806dc7 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 title=mirrors.$archive.title IF archive && archive != main_archive %]
-[%- PROCESS marker text=section title=section_titles.$section IF section && section != main_section %]
-[%- PROCESS marker text=g('essential') title=g('package manager will refuse to remove this package by default') 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) %]
' IF loop.last;
END -%]
[% g('Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.',
- "https://bugs.launchpad.net/ubuntu/+source/$src.pkg/+filebug",
- "https://answers.launchpad.net/ubuntu/+source/$src.pkg/+addquestion") %]
+ "https://bugs.launchpad.net/ubuntu/+source/" _ (is_source ? pkg : src.pkg) _ "/+filebug",
+ "https://answers.launchpad.net/ubuntu/+source/" _ (is_source ? pkg : src.pkg) _ "/+addquestion") %]
[%- END -%]
[%- IF original_maintainers.size -%]