[Yanel-commits] rev 28550 - public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt

michi at wyona.com michi at wyona.com
Tue Nov 6 23:34:21 CET 2007


Author: michi
Date: 2007-11-06 23:34:20 +0100 (Tue, 06 Nov 2007)
New Revision: 28550

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
print fixed

Modified: public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-06 22:31:07 UTC (rev 28549)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-11-06 22:34:20 UTC (rev 28550)
@@ -83,7 +83,7 @@
   <br/>
   <xsl:value-of select="foaf:excerpt"/>
   <div class="original-href"><a href="{foaf:url}"><xsl:value-of select="foaf:url"/></a> (Profile Provider: TODO)</div>
-  <a href="sign-in.html?usecase=add-friend&amp;href={foaf:url}">Add to your address book</a> | <a href="sign-in.html">Send invitation</a> | <a href="print.html?href={foaf:url}">Print</a>
+  <a href="sign-in.html?usecase=add-friend&amp;href={foaf:url}">Add to your address book</a> | <a href="sign-in.html">Send invitation</a><xsl:if test="foaf:mime-type/@suffix = 'rdf'"> | <a href="print.html?href={foaf:url}">Print</a></xsl:if>
   </p>
 </xsl:template>
 



More information about the Yanel-commits mailing list