]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
[UBUNTU] Fix links to launchpad.net under maintainer list
[deb/packages.git] / 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 -%]