Small update to manage NomDusage correctly
authorLaurent Penou <laurent.penou@gadz.org>
Tue, 11 Nov 2008 11:34:53 +0000 (12:34 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 14 Nov 2008 12:38:49 +0000 (13:38 +0100)
templates/profile/general.tpl

index 277dab1..e5c869b 100644 (file)
@@ -69,7 +69,7 @@
     </td>
     <td>
       <span class="nom">{$nom_usage|default:"Aucun"}</span>
-      <span class="lien"><a href="profile/usage">modifier</a></span>
+      <span class="lien"><a href="profile/usage">{if $nom_usage}modifier{else}Faire une demande{/if}</a></span>
     </td>
   </tr>
   <tr>