projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DATEV csv_export_for_tax_accountant nutzt generate_datev_data
[kivitendo-erp.git]
/
templates
/
webpages
/
fu
/
add_edit.html
diff --git
a/templates/webpages/fu/add_edit.html
b/templates/webpages/fu/add_edit.html
index
d32f3fc
..
3db4c4b
100644
(file)
--- a/
templates/webpages/fu/add_edit.html
+++ b/
templates/webpages/fu/add_edit.html
@@
-1,23
+1,18
@@
[%- USE T8 %]
[%- USE T8 %]
-[% USE HTML %]<body onload="on_load();">
+[%- USE L %]
+[%- USE HTML %]
+<h1>[% title %]</h1>
<script type="text/javascript">
<script type="text/javascript">
- <!--
- function on_load() {
- Calendar.setup({ inputField : "follow_up_date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "follow_up_date_trigger" });
- document.Form.subject.focus();
- }
- -->
+ $(function(){ document.Form.subject.focus(); });
</script>
</script>
- <form action="fu.pl" method="post" name="Form">
+ <form action="fu.pl" method="post" name="Form"
id="form"
>
[%- IF SAVED_MESSAGE %]
<p>[% SAVED_MESSAGE %]</p>
[%- END %]
[%- IF SAVED_MESSAGE %]
<p>[% SAVED_MESSAGE %]</p>
[%- END %]
- <div class="listtop">[% title %]</div>
-
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
<input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
<input type="hidden" name="id" value="[% HTML.escape(id) %]">
<input type="hidden" name="note_id" value="[% HTML.escape(note_id) %]">
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
@@
-41,8
+36,7
@@
<tr>
<td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
<td>
<tr>
<td valign="right">[% 'Follow-Up Date' | $T8 %]</td>
<td>
- <input name="follow_up_date" id="follow_up_date" value="[% HTML.escape(follow_up_date) %]" size="12">
- <input type="button" name="follow_up_date_button" id="follow_up_date_trigger" value="?">
+ [% L.date_tag('follow_up_date', follow_up_date) %]
</tr>
<tr>
</tr>
<tr>
@@
-57,6
+51,7
@@
</table>
</p>
</table>
</p>
+ [%- IF POPUP_MODE %]
<p>
<input type="hidden" name="action" value="dispatcher">
<input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
<p>
<input type="hidden" name="action" value="dispatcher">
<input type="submit" class="submit" name="action_save" value="[% 'Save' | $T8 %]">
@@
-64,16
+59,13
@@
<input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
<input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
[%- END %]
<input type="submit" class="submit" name="action_finish" value="[% 'Finish' | $T8 %]">
<input type="submit" class="submit" name="action_delete" value="[% 'Delete' | $T8 %]">
[%- END %]
- [%- IF POPUP_MODE %]
<input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
<input type="submit" class="submit" onclick="window.close()" value="[% 'Cancel' | $T8 %]">
- [%- END %]
</p>
</p>
- [%- IF POPUP_MODE %]
[%- IF FOLLOW_UPS.size %]
<hr height="3" noshade>
[%- IF FOLLOW_UPS.size %]
<hr height="3" noshade>
- <
div class="listtop">[% 'Existing pending follow-ups for this item' | $T8 %]</div
>
+ <
h2>[% 'Existing pending follow-ups for this item' | $T8 %]</h2
>
<p>
<table>
<p>
<table>
@@
-105,6
+97,3
@@
<input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">
</form>
<input type="hidden" name="trans_rowcount" value="[% LINKS.size %]">
</form>
-
-</body>
-</html>