]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Place Debian Med icons in package pages.
authorMichael Hanke <michael.hanke@gmail.com>
Tue, 27 Apr 2010 01:55:41 +0000 (21:55 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Tue, 27 Apr 2010 01:55:41 +0000 (21:55 -0400)
neurodebian/templates/pkg.rst
sphinx/_static/debianmed.png [new file with mode: 0644]

index 1caa5d47ceb8f8a3193ec2aa3255ab63086bde18..58382206c485570918c4664a4e3231b932ea3601 100644 (file)
@@ -16,6 +16,13 @@ External links:
   <a href="http://www.nitrc.org/project?group_id={{ cfg.get("nitrc ids", pkg) }}">
   <img border="0" src="../_static/nitrc.jpg" title="See the entry on nitrc.org" /></a>
   {%- endif -%}
+  {% if db.blends %}{% for blend, name, url in db.blends.tasks -%}
+  {%- if blend == 'debian-med' -%}
+  <a href="{{ url }}">
+  <img border="0" src="../_static/debianmed.png" title="Part of Debian Med {{ name }} task" /></a>
+  {%- endif -%}
+  {%- endfor -%}
+  {%- endif -%}
   </p>
 
 {% if db.main.publication %}
diff --git a/sphinx/_static/debianmed.png b/sphinx/_static/debianmed.png
new file mode 100644 (file)
index 0000000..c19e2c5
Binary files /dev/null and b/sphinx/_static/debianmed.png differ