[FIX] website_event: fix arrow in some versions of ubuntu

In some version of ubuntu with GNOME, the arrow is not
available. We replace the arrow already defined by the unicode
decimal code of the arrow and remove the arrow separator for the
datepicker (a dash is used by default).

task-2655272

closes odoo/odoo#80700

X-original-commit: ebd0d68280b59954df17f3a56675d194b1e8f70b
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Jérémy Hennecart (jeh)
2021-12-01 20:10:45 +00:00
parent df0cbf88fc
commit f6bcae9879
2 changed files with 1 additions and 2 deletions
@@ -165,7 +165,6 @@ var EventCreateDialog = Dialog.extend({
locale: {
direction: textDirection,
format: time.getLangDatetimeFormat().replace(':ss', ''),
separator: ' 🠖 ',
applyLabel: _t('Apply'),
cancelLabel: _t('Cancel'),
weekLabel: 'W',
@@ -26,7 +26,7 @@
<p class="text-danger mt-1 mb-0 col-md-8 d-none">Please fill in this field</p>
</div>
<div class="form-group row d-flex justify-content-between align-items-center" id="event_dates">
<label class="col-form-label col-md-2" for="event_start_end">Start 🠖 End</label>
<label class="col-form-label col-md-2" for="event_start_end">Start &#8594; End</label>
<div class="col-md-10 s_website_form_datetime input-group date o_wevent_form_datetime" data-target-input="nearest">
<input type="text" name="event_start_end" class="form-control daterange-input bg-transparent text-dark rounded-0 p-1"/>
</div>