]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Add cross-links to NITRC
authorMichael Hanke <michael.hanke@gmail.com>
Mon, 19 Apr 2010 20:52:35 +0000 (16:52 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Mon, 19 Apr 2010 20:52:35 +0000 (16:52 -0400)
neurodebian.cfg
neurodebian/templates/pkg.rst
sphinx/_static/go-home.png [new file with mode: 0644]
sphinx/_static/nitrc.jpg [new file with mode: 0644]

index 303f29ff3731788c50a98997d385a22f47c0eed4..45d101b7379efdeda6663ad8b079ad2a26b3f447 100644 (file)
@@ -53,3 +53,9 @@ jaunty = Ubuntu 9.04 "Jaunty Jackalope" (jaunty)
 karmic = Ubuntu 9.10 "Karmic Koala" (karmic)
 lucid = Ubuntu upcoming release "Lucid Lynx" (lucid)
 
+[nitrc ids]
+#http://www.nitrc.org/project?group_id=25
+afni = 23
+caret = 34
+fsl = 25
+
index 5422586f7a0297dbd4ac1e871c69159d51dde457..fa89f234eca4040a0ce40c0372de70fa1bcac582 100644 (file)
@@ -6,7 +6,17 @@
 
 {{ long_description }}
 
-Homepage: {{ db.main.homepage }}
+External links:
+
+.. raw:: html
+
+  <p><a href="{{ db.main.homepage }}">
+  <img src="../_static/go-home.png" title="Go to {{ pkg }} homepage" /></a>
+  {%- if cfg.has_option("nitrc ids", pkg) -%}
+  <a href="http://www.nitrc.org/project?group_id={{ cfg.get("nitrc ids", pkg) }}">
+  <img src="../_static/nitrc.jpg" title="See the entry on nitrc.org" /></a>
+  {%- endif -%}
+  </p>
 
 {% if db.main.publication %}
 Citable reference:
@@ -45,8 +55,8 @@ Associated blends:
 {% endif -%}
 
 {% if db.main.debian_popcon or db.main.ubuntu_popcon %}
-Reported installations [#]_
----------------------------
+Popularity statistics [#]_
+--------------------------
 {% if db.main.debian_popcon -%}
 - Debian: {{ db.main.debian_popcon.insts }} (`more info <http://qa.debian.org/popcon.php?package={{ db.main.sv.split()[0] }}>`_)
 {% endif -%}
diff --git a/sphinx/_static/go-home.png b/sphinx/_static/go-home.png
new file mode 100644 (file)
index 0000000..ee88983
Binary files /dev/null and b/sphinx/_static/go-home.png differ
diff --git a/sphinx/_static/nitrc.jpg b/sphinx/_static/nitrc.jpg
new file mode 100644 (file)
index 0000000..28d7b62
Binary files /dev/null and b/sphinx/_static/nitrc.jpg differ