Ansprechpartner: Löschen nie deaktivieren, aber ausblenden, wenn keine cp_id
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Feb 2012 12:21:52 +0000 (13:21 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Feb 2012 12:21:52 +0000 (13:21 +0100)
templates/webpages/ct/_contact.html

index 995c260..7552600 100644 (file)
      </tr>
     </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" />