[med-svn] r3893 - trunk/community/website

Steffen Möller smoe-guest at alioth.debian.org
Fri Sep 4 14:51:31 UTC 2009


Author: smoe-guest
Date: 2009-09-04 14:51:30 +0000 (Fri, 04 Sep 2009)
New Revision: 3893

Modified:
   trunk/community/website/organisations.xml
   trunk/community/website/organisations.xsl
Log:
Allowing longtitle to be omitted.


Modified: trunk/community/website/organisations.xml
===================================================================
--- trunk/community/website/organisations.xml	2009-09-04 14:33:39 UTC (rev 3892)
+++ trunk/community/website/organisations.xml	2009-09-04 14:51:30 UTC (rev 3893)
@@ -37,4 +37,13 @@
 cooperations help with saving transfer costs.</description>
 	<region>world-wide</region>
     </org>
+
+    <org title="OpenWetware">
+	<description>
+	   provides an internet platform for the exchange of wet-lab protocols or hardware build instructions
+	</description>
+	<url>http://openwetware.org/</url>
+	<region>world-wide</region>
+    </org>
+
 </organisations>

Modified: trunk/community/website/organisations.xsl
===================================================================
--- trunk/community/website/organisations.xsl	2009-09-04 14:33:39 UTC (rev 3892)
+++ trunk/community/website/organisations.xsl	2009-09-04 14:51:30 UTC (rev 3893)
@@ -64,9 +64,12 @@
      <table border="0">
     <xsl:for-each select="org">
     <xsl:variable name="url" select="url" />
+    <xsl:variable name="longtitle" select="longtitle" />
        <tr>
          <td rowspan="2" align="center" valign="top"><a href="{url}"><xsl:value-of select="@title"/></a></td><td>
-		<xsl:value-of select="longtitle"/><br/>
+	        <xsl:if test="$empty_string!=$longtitle">
+			<xsl:value-of select="longtitle"/><br/>
+		</xsl:if>
 		<xsl:value-of select="description"/>
          </td>
            </tr>




More information about the debian-med-commit mailing list