Directly link to actual package item on task pages.
authorMichael Hanke <michael.hanke@gmail.com>
Tue, 4 May 2010 20:45:07 +0000 (16:45 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Tue, 4 May 2010 20:45:07 +0000 (16:45 -0400)
neurodebian/templates/pkg.rst

index 3fc762c4b1065f05b26e3d3b9165844052d401aa..50cd2d1fc1dae906cbc570d6de04e6895cc46882 100644 (file)
@@ -18,11 +18,11 @@ External links:
   {%- endif -%}
   {% if db.blends %}{% for blend, name, url in db.blends.tasks -%}
   {%- if blend == 'debian-med' -%}
-  <a href="{{ url }}">
+  <a href="{{ url }}#{{ pkg }}">
   <img border="0" src="../_static/debianmed.png" title="Part of Debian Med {{ name }} task" /></a>
   {%- endif -%}
   {%- if blend == 'debian-science' -%}
-  <a href="{{ url }}">
+  <a href="{{ url }}#{{ pkg }}">
   <img border="0" src="../_static/debianscience.png" title="Part of Debian Science {{ name }} task" /></a>
   {%- endif -%}
   {%- endfor -%}