Commit 91ad7df3 authored by Julien Muchembled's avatar Julien Muchembled

fixup! erp5_xhtml_style: add support for portal_status_level

Seems required for Chameleon 3.2
parent 0c2dd107
Pipeline #21239 passed with stage
in 0 seconds
......@@ -15,7 +15,7 @@ DEPRECATION:
dummy python: here.Base_checkUserCanViewERP5XHTMLStyleOrRaise();
global_definitions_macros here/global_definitions/macros;
subject_list subject_list | python:here.getProperty('subject_list', []) or [];
portal_status_level request/portal_status_level | nothing;
portal_status_level request/portal_status_level | string:;
">
<tal:block metal:use-macro="global_definitions_macros/header_definitions" />
<!DOCTYPE html>
......@@ -67,7 +67,7 @@ DEPRECATION:
</div>
</tal:block>
<div tal:content="request/portal_status_message | nothing"
tal:attributes="class python:'transition_message' + (' transition_message_' + portal_status_level if portal_status_level else '')" />
tal:attributes="class python:'transition_message' + (portal_status_level and ' transition_message_' + portal_status_level)" />
<tal:block tal:condition="request/field_errors | nothing">
<div id="information_area" class="information_area" i18n:translate="" i18n:domain="ui">
Input data has errors. Please look at the error messages below.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment