X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/83542c806dc5c249bf640e344eaf3831cdf2f2ea..c0ed7d2fa:/templates/webpages/gl/form_footer.html
diff --git a/templates/webpages/gl/form_footer.html b/templates/webpages/gl/form_footer.html
index ebcac473c..054aa5a85 100644
--- a/templates/webpages/gl/form_footer.html
+++ b/templates/webpages/gl/form_footer.html
@@ -21,31 +21,26 @@
[%- IF id %]
+ [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
- [%- IF !storno %]
- [% L.submit_tag('action', LxERP.t8('Storno')) %]
- [%- END %]
+ [% IF !locked && radieren %]
+ [% L.submit_tag('action', LxERP.t8('Post'), accesskey='b') %]
+ [% L.submit_tag('action', LxERP.t8('Delete')) %]
+ [%- END %]
- [% IF !locked && radieren %]
- [% L.submit_tag('action', LxERP.t8('Post'), accesskey='b') %]
- [% L.submit_tag('action', LxERP.t8('Delete')) %]
- [%- END %]
- [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
- [% L.submit_tag('action', LxERP.t8('Follow-Up'), onclick='follow_up_window()') %]
+ [%- IF !storno %]
+ [% L.submit_tag('action', LxERP.t8('Storno')) %]
+ [%- END %]
+ [% L.submit_tag('action', LxERP.t8('Follow-Up'), onclick='follow_up_window()') %]
[%- ELSE %]
- [%- IF draft_id %]
-
[% L.checkbox_tag('remove_draft', checked=remove_draft, label=LxERP.t8('Remove Draft')) %]
- [%- END %] - [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %] [% L.submit_tag('action', LxERP.t8('Post')) %] - [% L.submit_tag('action', LxERP.t8('Save Draft')) %] + [% L.button_tag('kivi.Draft.popup("gl", "unknown", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %] [% L.hidden_tag('draft_id', draft_id) %] [% L.hidden_tag('draft_description', draft_description) %] [%- END %] -