</ul>
[% #FIXME: should this only be used for the PTS?
- known_vcs = [ [ 'cvs', 'CVS' ],
- [ 'svn', 'Subversion' ],
- [ 'bzr', 'bzr' ],
- [ 'darcs', 'Darcs'],
- [ 'arch', 'arch' ] ];
+ known_vcs = [ [ 'cvs', 'CVS', 'cvs' ],
+ [ 'svn', 'Subversion', 'subversion' ],
+ [ 'bzr', 'bzr', 'bzr' ],
+ [ 'darcs', 'Darcs', 'darcs' ],
+ [ 'arch', 'arch', 'tla' ],
+ [ 'git', 'Git', 'git-core' ], ];
FOREACH vcs IN known_vcs;
- vcs_id = vcs.0; vcs_name = vcs.1;
+ vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2;
vcs_info = page.get_newest("vcs-$vcs_id");
SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
IF vcs_info; %]
-<p>Debian Package Repository (<acronym title="Version Control System">VCS</acronym>: [% vcs_name %]):<br> <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></p>
+<p>Debian Package Repository (<acronym title="Version Control System">VCS</acronym>:
+<a href="[% make_url(vcs_pkg,'','source','') %]">[% vcs_name %]</a>):<br> <a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></p>
[% END; END %]
[% IF src %]
<h3>Maintainer:</h3>
[%- FOREACH maintainers -%]
<a href="mailto:[% mail %]">[% name | html %]</a>
+ (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
[%- END -%]
[%- ELSE -%]
<h3>Maintainers:</h3>
[%- FOREACH maintainers -%]
[%- '<ul>' IF loop.first -%]
- <li><a href="mailto:[% mail %]">[% name | html %]</a></li>
+ <li><a href="mailto:[% mail %]">[% name | html %]</a>
+ (<a href="[% ddpo_url _ mail %]" title="An overview over the maintainter's packages and uploads">QA Page</a>)
+ </li>
[%- '</ul>' IF loop.last -%]
[%- END -%]
[%- END %]
</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 %]
+ [% facet = tag.0;
+ facet_name = debtags_voc.$facet;
+ tag_id = "$tag.0::$tag.1";
+ tag_name = debtags_voc.$tag_id;
+ %]
+ [% facet_name _ ': ' UNLESS old_facet && facet == old_facet %]
+ [% IF tag_name %]
+ <a href="/about/debtags#[% string2id(tag_id) %]">[% tag_name %]</a>[% ', ' UNLESS loop.last %]
+ [% ELSE %]
+ [% tag_id %][% ', ' UNLESS loop.last %]
+ [% END %]
+ [% old_facet = facet %]
[% IF loop.last -%]
</p>
</div> <!-- end ptags -->