This commit fixes a few wording and view issues, notably: - Avoid breaking the talk description page when description is very long - Modify all occurrences of "starts at" to "starts on" (better wording) - Move the "hide sponsor" concept from _exhibitor to _track_online To be able to hide the sponsors on the "registration confirmed" template - Hide the sponsor block in "mobile" view (breakpoint md) - Make some minor layout adjustments Task ID-2325327 PR odoo/odoo#56430 X-original-commit: 342799035911123b609876268a86c1da251f7645
13 lines
474 B
Python
13 lines
474 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo.addons.website_event.controllers.main import WebsiteEventController
|
|
|
|
|
|
class EventOnlineController(WebsiteEventController):
|
|
|
|
def _get_registration_confirm_values(self, event, attendees_sudo):
|
|
values = super(EventOnlineController, self)._get_registration_confirm_values(event, attendees_sudo)
|
|
values['hide_sponsors'] = True
|
|
return values
|