X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b8376fbae07f5b6f2077c2d3cf283c345a5c94c3..62726dfdf4f763efa65c25fcfe8658d98649c8a8:/templates/webpages/drafts/form.html diff --git a/templates/webpages/drafts/form.html b/templates/webpages/drafts/form.html new file mode 100644 index 000000000..f3cedf8cc --- /dev/null +++ b/templates/webpages/drafts/form.html @@ -0,0 +1,46 @@ +[%- USE T8 %] +[%- USE L %] +[%- USE LxERP %] +[%- USE HTML %] + +[% PROCESS 'common/flash.html' %] + +[%- IF FORM.id %] +
[% 'Warning! Loading a draft will discard unsaved data!' | $T8 %]
+ +| [% 'Date' | $T8 %] | +[% 'Description' | $T8 %] | +[% 'Employee' | $T8 %] | +|
|---|---|---|---|
| [% row.date | html %] | ++ [%- IF row.id == FORM.id %] + [% row.description | html %] + [%- ELSE %] + [% L.link(SELF.url_for(action='load',id=row.id), row.description) %] + [%- END %] + | +[% row.employee_name | html %] | +[% L.html_tag('span', LxERP.t8('Delete'), class='cursor-pointer interact', onclick="kivi.Draft.delete('" _ row.id _ "')") %] | +