[IMP] portal: make fullwidth top banner

Add template that render a top banner. This box is intended
to be used to prompt system message, like links to the backend.
This commit is contained in:
sri-odoo
2018-09-12 09:37:56 +02:00
committed by qsm-odoo
parent aac0f8e9fc
commit 9aafeb8429
+7
View File
@@ -75,6 +75,13 @@
<template id="portal_layout" name="Portal Layout">
<t t-call="portal.frontend_layout">
<div t-if="o_portal_fullwidth_alert" class="alert alert-info alert-dismissible rounded-0 fade show d-print-none css_editable_mode_hidden">
<div class="container">
<t t-raw="o_portal_fullwidth_alert"/>
</div>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> &#215; </button>
</div>
<div t-if="not no_breadcrumbs and not my_details and not breadcrumbs_searchbar" class="o_portal container mt-3">
<div class="row align-items-center bg-white no-gutters border rounded-top">
<div class="col">