[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:
@@ -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"> × </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">
|
||||
|
||||
Reference in New Issue
Block a user