# HG changeset patch # User Thierry Florac # Date 1506950410 -7200 # Node ID 1402402dcf1cc8cbd249205730f0b969d9c92752 # Parent 85bbfd8dcd6547ccd53fe44c3e39d02a806347c1 Changed hourglass color diff -r 85bbfd8dcd65 -r 1402402dcf1c src/pyams_content/shared/common/zmi/header.py --- a/src/pyams_content/shared/common/zmi/header.py Mon Oct 02 15:14:45 2017 +0200 +++ b/src/pyams_content/shared/common/zmi/header.py Mon Oct 02 15:20:10 2017 +0200 @@ -91,14 +91,13 @@ if (pub_info is not None) and not pub_info.is_published(): state_format = state_format.replace('{state}', '{{state}} '.format( + 'text-danger opacity-75 hint align-base" ' + 'data-ams-hint-offset="5" title="{0}">'.format( translate(_("Content publication start date is not passed yet")))) - state_class = 'text-danger' # if state.state in workflow.update_states else 'txt-color-text' + state_class = 'text-danger' state_format = state_format.replace('{state}', '{{state}}'.format(state_class)) # init principal format - # principal_class = 'text-danger' if state.state_principal != owner else 'txt-color-text' principal_class = 'text-danger' \ if state.state in (workflow.update_states | workflow.waiting_states) \ else 'txt-color-text'