summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorPriyanka Kakadiya <pka@odoo.com>2019-09-05 09:27:16 +0000
committerAaron Bohy <aab@odoo.com>2020-01-24 12:38:47 +0000
commit8e48ba3eb59939cb5f8bdb715afa5e520b532a00 (patch)
treef31fdcd59cc7e9bf6e7ddcbc95cc661557bef8a4 /addons/web/static/src/xml
parent9dfb1262a57fee05502aef6b7f67988a2045b185 (diff)
[IMP] web: show start time of regular event in calendar
With this commit, the start time of single day events is displayed in the calendar view, in month mode. This only applies to non allday events. This can be disabled by setting (already existing) option 'hide_time' to true on the calendar arch. task-2058477 Co-authored-by: Mohammed Shekha <msh@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/web_calendar.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml
index 80b60d2902a..4166b5e123e 100644
--- a/addons/web/static/src/xml/web_calendar.xml
+++ b/addons/web/static/src/xml/web_calendar.xml
@@ -13,6 +13,7 @@
<t t-name="calendar-box">
<div t-att-style="typeof color === 'string' ? ('background-color:' + color) + ';' : ''" t-attf-class="#{record.is_highlighted ? 'o_event_hightlight' : ''} #{typeof color === 'number' ? _.str.sprintf('o_calendar_color_%s', color) : 'o_calendar_color_1'}">
+ <span class="fc-time"/>
<div class="o_event_title" t-esc="record.display_name"/>
</div>
</t>