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

michi at wyona.com michi at wyona.com
Mon Dec 10 21:51:10 CET 2007


Author: michi
Date: 2007-12-10 21:51:10 +0100 (Mon, 10 Dec 2007)
New Revision: 29736

Modified:
   public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl
Log:
add friend link 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-12-10 20:50:46 UTC (rev 29735)
+++ public/yanel/contributions/realms/foaf/src/resources/findfriend/xslt/foaf2xhtml.xsl	2007-12-10 20:51:10 UTC (rev 29736)
@@ -109,7 +109,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="profiles/{$username}/add-friend.html?href={foaf:url}">Add to your address book</a> | <xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="send-invitation.html?profile-of-friend={foaf:url}">Send invitation</a></xsl:when><xsl:otherwise><a href="profiles/{$username}/send-invitation.html?profile-of-friend={foaf:url}">Send invitation</a></xsl:otherwise></xsl:choose><xsl:if test="foaf:mime-type/@suffix = 'rdf'"> | <a href="print.html?href={foaf:url}">Print</a></xsl:if>
+  <xsl:choose><xsl:when test="$username = 'foaf:uin'"><a href="add-friend.html?href={foaf:url}">Add to your address book</a> | <a href="send-invitation.html?profile-of-friend={foaf:url}">Send invitation</a></xsl:when><xsl:otherwise><a href="profiles/{$username}/add-friend.html?href={foaf:url}">Add to your address book</a> | <a href="profiles/{$username}/send-invitation.html?profile-of-friend={foaf:url}">Send invitation</a></xsl:otherwise></xsl:choose><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