summaryrefslogtreecommitdiff
path: root/addons/hr_work_entry/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hr_work_entry/static/src/xml')
-rw-r--r--addons/hr_work_entry/static/src/xml/work_entry_templates.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/hr_work_entry/static/src/xml/work_entry_templates.xml b/addons/hr_work_entry/static/src/xml/work_entry_templates.xml
new file mode 100644
index 00000000..bc216ae6
--- /dev/null
+++ b/addons/hr_work_entry/static/src/xml/work_entry_templates.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates>
+ <t t-name="hr_work_entry.work_entry_button">
+ <button t-if="disabled" disabled="" title="Solve conflicts first" t-attf-class="btn btn-primary btn-work-entry {{ event_class }}" type="button" t-esc="button_text"/>
+ <button t-else="" t-attf-class="btn btn-primary btn-work-entry {{ event_class }}" type="button" t-esc="button_text"/>
+ </t>
+</templates>