X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/60d0f05f9fe667d2c309175d8849428393c6739f..464bf573847d115aa981454312d387c655599b47:/templates/webpages/simple_system_setting/form.html diff --git a/templates/webpages/simple_system_setting/form.html b/templates/webpages/simple_system_setting/form.html index da8e4a299..26ca5b49f 100644 --- a/templates/webpages/simple_system_setting/form.html +++ b/templates/webpages/simple_system_setting/form.html @@ -18,7 +18,7 @@
[% L.hidden_tag("action", "SimpleSystemSetting/dispatch") %] [% L.submit_tag("action_" _ (SELF.object.id ? "update" : "create"), LxERP.t8("Save"), onclick="return kivi.validate_form('#form');") %] - [%- IF SELF.object.id && (!SELF.object.can("orphaned") || SELF.object.orphaned) -%] + [%- IF SELF.object.id && (!SELF.object.can("orphaned") || SELF.object.orphaned) && (!SELF.object.can("can_be_deleted") || SELF.object.can_be_deleted) -%] [% L.submit_tag("action_delete", LxERP.t8("Delete"), confirm=LxERP.t8("Do you really want to delete this object?")) %] [%- END %] [%- LxERP.t8("Cancel") %]