]> git.deb.at Git - deb/packages.git/commitdiff
[UBUNTU] Fix links to launchpad.net under maintainer list
authorFrank Lichtenheld <frank@lichtenheld.de>
Wed, 11 Feb 2009 23:26:24 +0000 (23:26 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Wed, 11 Feb 2009 23:26:24 +0000 (23:26 +0000)
Fixes LP#327472

templates/html/show.tmpl

index ec7f2d7deec38950d6e8a6b1cb20f02c19144544..19f5b7e474bfaee94967d6d6abecd2d03207125e 100644 (file)
    '</ul>' IF loop.last;
  END -%]
 <p>[% g('Please consider <a href="%s">filing a bug</a> or <a href="%s">asking a question</a> 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") %]</p>
+        "https://bugs.launchpad.net/ubuntu/+source/" _ (is_source ? pkg : src.pkg) _ "/+filebug",
+        "https://answers.launchpad.net/ubuntu/+source/" _ (is_source ? pkg : src.pkg) _ "/+addquestion") %]</p>
 [%- END -%]
 
 [%- IF original_maintainers.size -%]