[FIX] website_event: allow lower-case sidebar titles
This commit addresses a scenario where users may prefer lowercase titles over the default uppercase ones. task-3718417 part of task-3698364 Part-of: odoo/odoo#152434
This commit is contained in:
@@ -1200,6 +1200,11 @@ msgstr ""
|
||||
msgid "SEO optimized"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_event
|
||||
#: model_terms:ir.ui.view,arch_db:website_event.event_description_full
|
||||
msgid "Share"
|
||||
msgstr ""
|
||||
|
||||
#. module: website_event
|
||||
#: model_terms:ir.ui.view,arch_db:website_event.event_description_full
|
||||
msgid "SHARE"
|
||||
|
||||
@@ -76,7 +76,6 @@
|
||||
border-bottom: $border-width solid $border-color;
|
||||
padding: 0 0 ($spacer * .5) 0;
|
||||
font-weight: $font-weight-bold;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.o_wevent_sidebar_block {
|
||||
margin: 0 0 ($spacer * 2.5) 0;
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</div>
|
||||
<!-- Date & Time -->
|
||||
<div class="o_wevent_sidebar_block border-bottom pb-3 my-3">
|
||||
<h6 class="o_wevent_sidebar_title text-muted text-uppercase">Date & Time</h6>
|
||||
<h6 class="o_wevent_sidebar_title text-muted">Date & Time</h6>
|
||||
<div class="d-flex">
|
||||
<h6 t-field="event.date_begin" class="my-1" t-options="{'tz_name': event.date_tz, 'format': 'full', 'date_only': 'true'}" t-att-datetime="event.date_begin"/>
|
||||
</div>
|
||||
@@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<!-- Location -->
|
||||
<div t-if="event.address_id" class="o_wevent_sidebar_block border-bottom pb-3 mb-3">
|
||||
<h6 class="o_wevent_sidebar_title text-muted text-uppercase">Location</h6>
|
||||
<h6 class="o_wevent_sidebar_title text-muted">Location</h6>
|
||||
<h4 t-field="event.address_id" class="" t-options='{
|
||||
"widget": "contact",
|
||||
"fields": ["name"]
|
||||
@@ -102,13 +102,13 @@
|
||||
</div>
|
||||
<!-- Organizer -->
|
||||
<div t-if="event.organizer_id" class="o_wevent_sidebar_block border-bottom pb-3 mb-3">
|
||||
<h6 class="o_wevent_sidebar_title text-muted text-uppercase">Organizer</h6>
|
||||
<h6 class="o_wevent_sidebar_title text-muted">Organizer</h6>
|
||||
<h4 t-field="event.organizer_id"/>
|
||||
<div itemprop="location" t-field="event.organizer_id" t-options="{'widget': 'contact', 'fields': ['phone', 'mobile', 'email']}"/>
|
||||
</div>
|
||||
<!-- Social -->
|
||||
<div class="o_wevent_sidebar_block">
|
||||
<h6 class="o_wevent_sidebar_title text-muted text-uppercase">SHARE</h6>
|
||||
<h6 class="o_wevent_sidebar_title text-muted">Share</h6>
|
||||
<p class="mb-2">Find out what people see and say about this event, and join the conversation.</p>
|
||||
<t t-snippet-call="website.s_share">
|
||||
<t t-set="_no_title" t-value="True"/>
|
||||
|
||||
Reference in New Issue
Block a user