Wording.
[platal.git] / templates / include / form.valid.entreprises.tpl
index 6ed7534..229e76a 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2014 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 </tr>
 <tr class="pair">
   <td class="titre">Noms similaires existants&nbsp;:</td>
-  <td>{$valid->suggestions}</td>
+  <td>
+    <span id="{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_truncated"
+          onclick="$('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_truncated').hide();
+                   $('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_full').show()">
+      {$valid->suggestions|truncate:200:"&hellip; <strong><small>(cliquez pour tout afficher)</small></strong>"}
+    </span>
+    <span id="{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_full" style="display: none" >
+      <span onclick="$('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_truncated').show();
+                     $('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_full').hide();">
+        {icon name=delete title="Cacher les suggestions"}
+      </span>
+      {$valid->suggestions}
+      <span onclick="$('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_truncated').show();
+                     $('#{$valid->type}_{$valid->profile->id()}_{$valid->stamp}_full').hide();">
+        {icon name=delete title="Cacher les suggestions"}
+      </span>
+    </span>
+  </td>
 </tr>
 <tr class="pair">
   <td class="titre">Acronyme&nbsp;:</td>
   <td>{$valid->holdingid}</td>
 </tr>
 <tr class="pair">
+  <td class="titre">Code SIREN&nbsp;:</td>
+  <td>{$valid->SIREN}</td>
+</tr>
+<tr class="pair">
   <td class="titre">Code NAF&nbsp;:</td>
   <td>{$valid->NAF_code}</td>
 </tr>
   <td>{$valid->AX_code}</td>
 </tr>
 <tr class="pair">
+  <td class="titre">Adresse&nbsp;:</td>
+  <td>{$valid->address}</td>
+</tr>
+<tr class="pair">
   <td class="titre">Téléphone&nbsp;:</td>
   <td>{$valid->tel}</td>
 </tr>
@@ -63,8 +88,8 @@
 </tr>
 <tr class="pair">
   <td colspan="2" class="center">
-    <small>Bien remplir tous les champs, en particulier les <a href="http://societe.com/">codes NAF</a> et AX !</small>
+    <small>Remplir tous les champs possibles, en particulier le <a href="http://societe.com/">code NAF</a> et l'adresse du siège social si possible.</small>
   </td>
 </tr>
 
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
+{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}