Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion theme_compassion_2025/templates/components/Banner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- target (string, optional): Target attribute for the button link (e.g., '_blank').
- rel (string, optional): Rel attribute for the button link. Automatically set to
'noopener noreferrer' if target='_blank' and no rel is provided.
- align_text (string, optional): Text alignment for the banner content, default is 'left'.
Comment thread
Danielgergely marked this conversation as resolved.
-->
<odoo>
<template id="BannerComponent" name="Banner Component">
Expand All @@ -35,7 +36,7 @@
<t t-set="color" t-value="text_color or 'pure-white'" />
<t t-set="align_sm" t-value="'left'" />
</t>
<p class="text-pure-white">
<p t-attf-class="text-pure-white #{align_text or 'text-left'}">
<t t-esc="text" />
</p>
<div class="align-self-center">
Expand Down
Loading