[FIX] webesite_event: remove duplicated templates
Those are already present in another file. closes odoo/odoo#56133 X-original-commit: 9a0f9e926a40bb594b6a10336a22ade463f1d5e0 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -492,35 +492,4 @@
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<template id="404" name="Event 404">
|
||||
<t t-call="website.layout">
|
||||
<div id="wrap">
|
||||
<div class="oe_structure oe_empty">
|
||||
<div class="container">
|
||||
<h1 class="mt-4">Event not found!</h1>
|
||||
<p>Sorry, the requested event is not available anymore.</p>
|
||||
<p><a t-attf-href="/event">Return to the event list.</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
</template>
|
||||
|
||||
<!-- User Navbar -->
|
||||
<template id="user_navbar_inherit_website_event" inherit_id="website.user_navbar">
|
||||
<xpath expr="//div[@id='o_new_content_menu_choices']//div[@name='module_website_event']" position="attributes">
|
||||
<attribute name="name"/>
|
||||
<attribute name="t-att-data-module-id"/>
|
||||
<attribute name="t-att-data-module-shortdesc"/>
|
||||
<attribute name="groups">event.group_event_manager</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<!-- User Navbar - Edit Options -->
|
||||
<template id="event_edit_options" inherit_id="website.user_navbar" name="Edit Event Options">
|
||||
<xpath expr="//li[@id='edit-page-menu']" position="after">
|
||||
<t t-if="main_object._name == 'event.event'" t-set="action" t-value="'event.action_event_view'"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user