X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fsimple_system_setting%2Fform.html;h=26ca5b49fa781cecca140b40dba3b666bf9b39b7;hb=464bf573847d115aa981454312d387c655599b47;hp=da8e4a299b800d9043f09ae66f61cf448165aaa4;hpb=60d0f05f9fe667d2c309175d8849428393c6739f;p=kivitendo-erp.git 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") %]