The following commit has been merged in the ubuntu-master branch:
commit 3c396ed67e80cc413303725209ebcfe7b3e36554
Merge: c32e5806d3907b53fbd0d64cbb7c6bf7d87ae61d
62bcf20caddf01f1f8158952a7c914fbeb3231d4
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Wed Apr 16 23:12:19 2008 +0200
Merge branch 'master' into ubuntu-master
Conflicts:
templates/html/show.tmpl
diff --combined templates/html/show.tmpl
index c725964,eec364b..8f76bb2
--- a/templates/html/show.tmpl
+++ b/templates/html/show.tmpl
@@@ -65,7 -65,13 +65,7 @@@
<h2>[% g('Links for %s', pkg) %]</h2>
<h3>[% g('%s Resources:', organisation) %]</h3>
<ul>
-<li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg %]">[% g('Bug
Reports') %]</a></li>
-
-[% IF src.pkg -%]
-<li><a href="[% pts_url _ src.pkg %]">[% g('Developer Information (PTS)')
%]</a></li>
-[% ELSIF is_source %]
-<li><a href="[% pts_url _ pkg %]">[% g('Developer Information (PTS)')
%]</a></li>
-[%- END %]
+<li><a href="[% launchpad_url _ (is_source ? pkg : src.pkg) _ '/+bugs' %]">[%
g('Bug Reports') %]</a></li>
[% IF files && (!archive or archive == main_archive or archive == 'security')
%]
<li><a href="[% changelogs_url _ files.changelog.path %]">[% g('%s
Changelog', organisation) %]</a></li>
@@@ -80,9 -86,9 +80,9 @@@
SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info;
IF vcs_info %]
(<a href="[% vcs_info %]" class="pvcslink">[% vcs_name %]</a>)
- [% END %]
- </li>
[% END; END %]
+ </li>
+ [% END %]
</ul>
@@@ -106,15 -112,16 +106,15 @@@
[%- 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/' _ matches.0 _ '/';
+ mailarchiveurl = 'http://lists.ubuntu.com/archives/' _
uri_escape(matches.0) _ '/';
END -%]
[%- '<ul>' IF loop.first -%]
- <li><a href="mailto:[% mail %]">[% name | html %]</a>
+ <li><a href="mailto:[% mail | html %]">[% name | html %]</a>
- (<a href="[% ddpo_url %][% uri_escape(mail) %]" title="[% g("An
overview over the maintainer's packages and uploads") %]">[% g('QA Page') %]</a>
- [%- IF mailarchiveurl %], <a href="[% mailarchiveurl %]" title="[%
g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>[%
END %])
+ [%- IF mailarchiveurl %](<a href="[% mailarchiveurl %]" title="[%
g('Archive of the Maintainer Mailinglist') %]">[% g('Mail Archive') %]</a>)[%
END %]
</li>
[%- '</ul>' IF loop.last -%]
[%- END -%]
@@@ -124,7 -131,7 +124,7 @@@
IF url %]
<h3>[% g('External Resources:') %]</h3>
<ul>
- <li><a href="[% url | uri %]">[% g('Homepage') %]</a> [[% extract_host(url) |
html %]]</li>
+ <li><a href="[% url | html %]">[% g('Homepage') %]</a> [[% extract_host(url)
| html %]]</li>
</ul>
[% END %]
@@@ -178,7 -185,7 +178,7 @@@
[% FOREACH tag IN tags %]
[% IF loop.first -%]
<div id="ptags"><p>
- <a href="[% tags_url %]edit.html?pkg=[% pkg | uri %]">[% g('Tags') %]</a>:
+ <a href="[% tags_url %]edit.html?pkg=[% uri_escape(pkg) %]">[% g('Tags')
%]</a>:
[%- END %]
[% facet = tag.0; lfacet = "$facet-$po_lang";
facet_name = debtags_voc.$lfacet;
@@@ -337,16 -344,21 +337,21 @@@
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; %]
+ LAST IF vcs_info;
+ END;
+ IF vcs_info || vcs_link; %]
<dl>
+ [% IF vcs_info %]
<dt>[% g('Debian Package Source Repository (<acronym title="Version Control
System">VCS</acronym>: <a href="%s">%s</a>)',
make_url(vcs_pkg,'','source',''), vcs_name ) %]</dt>
<dd><a href="[% vcs_info %]" class="pvcslink">[% vcs_info %]</a></dd>
- [% IF vcs_link %]
- <dt>[% g('Debian Package Source Repository (Browsable)') %]</dt><dd><a
href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></dd>
+ [% END;
+ IF vcs_link %]
+ <dt>[% g('Debian Package Source Repository (Browsable)') %]</dt>
+ <dd><a href="[% vcs_link %]" class="pvcslink">[% vcs_link %]</a></dd>
[% END %]
</dl>
- [% END; END %]
+ [% END %]
</div> <!-- end pdownload -->
[%- END %]
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]