0 Votes

Modifications pour le document OSSGTPUserProfileSheet

Modifié par Vincent Massol le 2011/08/05 08:00

Depuis la version 11.15
modifié par Vincent Massol
sur 2011/08/04 22:04
Commentaire de modification : Il n'y a aucun commentaire pour cette version
À la version 12.1
modifié par Vincent Massol
sur 2011/08/05 08:00
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -38,6 +38,21 @@
38 38   <dd>$doc.display('ohloh', $obj)</dd>
39 39   #end
40 40   #end
41 + #set ($mbId = $obj.getProperty("masterbranch").getValue())
42 + #if ($xcontext.action != 'view' || "$!mbId" != "")
43 + <dt class="label"><label>Profil MasterBranch</label></dt>
44 + #if ($xcontext.action == 'view')
45 +
46 + {{html}}
47 + <a href="https://www.masterbranch.com/developer/${mbId}">
48 + <img src="http://static.masterbranch.com/buttons/btn_profile_195x27.png" width="195" height="27" border="0" alt="View profile on Masterbranch" />
49 + </a>
50 + {{/html}}
51 +
52 + #else
53 + <dd>$doc.display('masterbranch', $obj)</dd>
54 + #end
55 + #end
41 41   <dt class="label"><label>Projets Open Source sur lesquels je suis ou j'ai été committer</label></dt>
42 42   #if ($xcontext.action == 'view')
43 43   ## Put all projet definition in a map