]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/ct/_contact.html
Leeres Feld mit anzeigen heißt with_empty bei select_tag im L-Plugin.
[kivitendo-erp.git] / templates / webpages / ct / _contact.html
index 995c260e962bb3ff03e271d14b75918cda28e69a..1c24fe1d4818479bb1700ac501c20a3e417853a5 100644 (file)
       <th align="left" nowrap>[% 'Bcc' | $T8 %]</th>
       <td><input name="bcc" size="40" value="[% HTML.escape(bcc) %]"></td>
      </tr>
+     [% IF CUSTOM_VARIABLES.Contacts.size %]
+     <tr>
+      <td colspan="2"><hr></td>
+     </tr>
+
+     [%- FOREACH var = CUSTOM_VARIABLES.Contacts %]
+     <tr>
+      <th align="left" valign="top" nowrap>[% HTML.escape(var.description) %]</th>
+      <td valign="top">[% var.HTML_CODE %]</td>
+     </tr>
+     [%- END %]
+     [%- END %]
+
     </table>
 
-    <input type="submit" id="delete_contact" name="action" value="[% 'Delete Contact' | $T8 %]" [% IF cp_used %]'disabled'[% END %]>
+[% IF cp_id %]
+    <input type="submit" id="delete_contact" name="action" value="[% 'Delete Contact' | $T8 %]">
+[% END %]
 
     <br style="clear: left" />