1- < ?xml version="1.0" encoding="utf-8"?>
21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32< html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en ">
43< head >
98
109/*
1110:Author: David Goodger ([email protected] ) 12- :Id: $Id: html4css1.css 8954 2022 -01-20 10:10:25Z milde $
11+ :Id: $Id: html4css1.css 9511 2024 -01-13 09:50:07Z milde $
1312:Copyright: This stylesheet has been placed in the public domain.
1413
1514Default cascading style sheet for the HTML output of Docutils.
15+ Despite the name, some widely supported CSS2 features are used.
1616
1717See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818customize this style sheet.
275275 margin-left : 2em ;
276276 margin-right : 2em }
277277
278- pre .code .ln { color : grey ; } /* line numbers */
278+ pre .code .ln { color : gray ; } /* line numbers */
279279pre .code , code { background-color : # eeeeee }
280280pre .code .comment , code .comment { color : # 5C6576 }
281281pre .code .keyword , code .keyword { color : # 3B0D06 ; font-weight : bold }
301301span .pre {
302302 white-space : pre }
303303
304- span .problematic {
304+ span .problematic , pre . problematic {
305305 color : red }
306306
307307span .section-subtitle {
@@ -367,9 +367,9 @@ <h1 class="title">CMS status message</h1>
367367!! This file is generated by oca-gen-addon-readme !!
368368!! changes will be overwritten. !!
369369!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370- !! source digest: sha256:f5aff4e9e67728208db41b324377db9e2dd1c0fbc6528518eb9e544dde8520c8
370+ !! source digest: sha256:91b38597ea2967187778e5b779ed0a60aa6bd6cfec03a3d91fcdd46c7cdaccf5
371371!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/website-cms/tree/16.0/cms_status_message "> < img alt ="OCA/website-cms " src ="https://img.shields.io/badge/github-OCA%2Fwebsite--cms-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/website-cms-16-0/website-cms-16-0-cms_status_message "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/website-cms&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
372+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/licence-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/website-cms/tree/14.0/cms_status_message "> < img alt ="OCA/website-cms " src ="https://img.shields.io/badge/github-OCA%2Fwebsite--cms-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/website-cms-14-0/website-cms-14-0-cms_status_message "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/website-cms&target_branch=14.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
373373< p > A “status message” is an important message that you want to show to
374374users.</ p >
375375< p > For instance: a user submit a form or does a specific action and you
@@ -431,7 +431,7 @@ <h2><a class="toc-backref" href="#toc-entry-2">Python code</a></h2>
431431</ span > < span class ="n "> env</ span > < span class ="p "> [</ span > < span class ="s2 "> "ir.http"</ span > < span class ="p "> ]</ span > < span class ="o "> .</ span > < span class ="n "> add_status_message</ span > < span class ="p "> (</ span > < span class ="n "> msg</ span > < span class ="p "> ,</ span > < span class ="n "> kind</ span > < span class ="o "> =</ span > < span class ="s1 "> 'warning'</ span > < span class ="p "> ,</ span > < span class ="n "> title</ span > < span class ="o "> =</ span > < span class ="s1 "> 'Oh no'</ span > < span class ="p "> )</ span >
432432</ pre >
433433< p > Messages will be displayed like this:</ p >
434- < img alt ="https://raw.githubusercontent.com/OCA/website-cms/16 .0/cms_status_message/images/preview.png " src ="https://raw.githubusercontent.com/OCA/website-cms/16 .0/cms_status_message/images/preview.png " />
434+ < img alt ="https://raw.githubusercontent.com/OCA/website-cms/14 .0/cms_status_message/images/preview.png " src ="https://raw.githubusercontent.com/OCA/website-cms/14 .0/cms_status_message/images/preview.png " />
435435</ div >
436436< div class ="section " id ="autodismiss ">
437437< h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Autodismiss</ a > </ h2 >
@@ -574,7 +574,7 @@ <h1><a class="toc-backref" href="#toc-entry-14">Bug Tracker</a></h1>
574574< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/website-cms/issues "> GitHub Issues</ a > .
575575In case of trouble, please check there if your issue has already been reported.
576576If you spotted it first, help us to smash it by providing a detailed and welcomed
577- < a class ="reference external " href ="https://github.com/OCA/website-cms/issues/new?body=module:%20cms_status_message%0Aversion:%2016 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
577+ < a class ="reference external " href ="https://github.com/OCA/website-cms/issues/new?body=module:%20cms_status_message%0Aversion:%2014 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
578578< p > Do not contact contributors directly about support or help with technical issues.</ p >
579579</ div >
580580< div class ="section " id ="credits ">
@@ -594,13 +594,15 @@ <h2><a class="toc-backref" href="#toc-entry-17">Contributors</a></h2>
594594< div class ="section " id ="maintainers ">
595595< h2 > < a class ="toc-backref " href ="#toc-entry-18 "> Maintainers</ a > </ h2 >
596596< p > This module is maintained by the OCA.</ p >
597- < a class ="reference external image-reference " href ="https://odoo-community.org "> < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " /> </ a >
597+ < a class ="reference external image-reference " href ="https://odoo-community.org ">
598+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
599+ </ a >
598600< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
599601mission is to support the collaborative development of Odoo features and
600602promote its widespread use.</ p >
601603< p > Current < a class ="reference external " href ="https://odoo-community.org/page/maintainer-role "> maintainer</ a > :</ p >
602604< p > < a class ="reference external image-reference " href ="https://github.com/simahawk "> < img alt ="simahawk " src ="https://github.com/simahawk.png?size=40px " /> </ a > </ p >
603- < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/website-cms/tree/16 .0/cms_status_message "> OCA/website-cms</ a > project on GitHub.</ p >
605+ < p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/website-cms/tree/14 .0/cms_status_message "> OCA/website-cms</ a > project on GitHub.</ p >
604606< p > You are welcome to contribute. To learn how please visit < a class ="reference external " href ="https://odoo-community.org/page/Contribute "> https://odoo-community.org/page/Contribute</ a > .</ p >
605607</ div >
606608</ div >
0 commit comments