]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
Use the debtags vocabulary to be able to show prettier tag names
[deb/packages.git] / templates / html / show.tmpl
index fba7dfe8bb976909620e207a54c9dc2ede5fb3f3..43e5ca1c891690b3f5ca2f61170530607143188c 100644 (file)
@@ -130,21 +130,27 @@ Do not install it on a normal Debian system.</p>
 </div>
 [% END %]
 
-[% UNLESS is_virtual %]
 <div id="pdesc">
-[% IF desc.short %]
+[% UNLESS is_virtual %]
+       [% IF desc.short %]
        <h2>[% desc.short %]</h2>
        <p>[% desc.long %]
+       [% END %]
+[% ELSE %]
+       <p>This is a <em>virtual package</em>. See the <a href="[% policy_url %]">Debian policy</a> for a <a href="[% policy_url %]ch-binary.html#s-virtual_pkg">definition of virtual packages</a>.</p>
 [% END %]
 </div> <!-- end pdesc -->
-[% END %]
 
 [% FOREACH tag IN tags %]
   [% IF loop.first -%]
     <div id="ptags"><p>
     <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">Tags</a>:
   [%- END %]
-  [% tag %][% ', ' UNLESS loop.last %]
+  [% IF tag.1 %]
+  <a href="/about/debtags#[% string2id(tag.0) %]">[% tag.1 %]</a>[% ', ' UNLESS loop.last %]
+  [% ELSE %]
+  [% tag.0 %][% ', ' UNLESS loop.last %]
+  [% END %]
   [% IF loop.last -%]
     </p>
     </div> <!-- end ptags -->