From ba255fea504bbc9eaff42130651c1ae94f5bae67 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 29 Nov 2011 11:15:21 +0000 Subject: [PATCH] Remove delete button for billing profiles. Fixes #353 by just not making deletion of billing profiles possible, because this can have severe side effects. --- root/tt/billing.tt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/root/tt/billing.tt b/root/tt/billing.tt index bf17766..1d0d758 100644 --- a/root/tt/billing.tt +++ b/root/tt/billing.tt @@ -60,7 +60,7 @@ [% FOREACH bilprof = bilprofs %]
  • [% bilprof.data.name %]
    -
    +
    [% UNLESS Catalyst.session.admin.read_only %] Edit [% ELSE %]  @@ -68,12 +68,11 @@
    + [% UNLESS Catalyst.session.admin.read_only || 1 %]
    - [% UNLESS Catalyst.session.admin.read_only %] - [% ELSE %]  - [% END %]
    + [% END %]