Remove DL's from portal message in templates.

This commit is contained in:
Kees Hink 2014-02-11 09:38:54 +01:00
parent aa87302280
commit cc02ed01ad
2 changed files with 22 additions and 18 deletions

View File

@ -4,6 +4,10 @@ Changelog
2.3.0 (unreleased) 2.3.0 (unreleased)
------------------ ------------------
- Remove DL's from portal message in templates.
https://github.com/plone/Products.CMFPlone/issues/153
[khink]
- Execute the proper workflow change when using the moderation buttons instead - Execute the proper workflow change when using the moderation buttons instead
of hardcoding the workflow action to always publish of hardcoding the workflow action to always publish
[omiron] [omiron]

View File

@ -22,12 +22,12 @@
tal:attributes="src string:${context/portal_url}/++resource++plone.app.discussion.javascripts/controlpanel.js"> tal:attributes="src string:${context/portal_url}/++resource++plone.app.discussion.javascripts/controlpanel.js">
</script> </script>
<dl class="portalMessage warning" <div class="portalMessage warning"
tal:condition="view/mailhost_warning"> tal:condition="view/mailhost_warning">
<dt i18n:translate=""> <strong i18n:translate="">
Warning Warning
</dt> </strong>
<dd i18n:translate="text_no_mailhost_configured"> <span tal:omit-tag="" i18n:translate="text_no_mailhost_configured">
You have not configured a mail host or a site 'From' You have not configured a mail host or a site 'From'
address, various features including contact forms, email address, various features including contact forms, email
notification and password reset will not work. Go to the notification and password reset will not work. Go to the
@ -38,15 +38,15 @@
>Mail control panel</a> >Mail control panel</a>
</tal:link> </tal:link>
to fix this. to fix this.
</dd> </span>
</dl> </div>
<dl class="portalMessage warning" <div class="portalMessage warning"
tal:condition="view/custom_comment_workflow_warning"> tal:condition="view/custom_comment_workflow_warning">
<dt i18n:translate=""> <strong i18n:translate="">
Warning Warning
</dt> </strong>
<dd i18n:translate="text_custom_comment_workflow"> <span tal:omit-tag="" i18n:translate="text_custom_comment_workflow">
You have configured a custom workflow for the 'Discussion Item' You have configured a custom workflow for the 'Discussion Item'
content type. You can enable/disable the comment moderation content type. You can enable/disable the comment moderation
in this control panel only if you use one of the default in this control panel only if you use one of the default
@ -58,15 +58,15 @@
>Types control panel</a> >Types control panel</a>
</tal:link> </tal:link>
to choose a workflow for the 'Discussion Item' type. to choose a workflow for the 'Discussion Item' type.
</dd> </span>
</dl> </div>
<dl class="portalMessage warning" <div class="portalMessage warning"
tal:condition="view/unmigrated_comments_warning"> tal:condition="view/unmigrated_comments_warning">
<dt i18n:translate=""> <strong i18n:translate="">
Warning Warning
</dt> </strong>
<dd i18n:translate="text_unmigrated_comments"> <span tal:omit-tag="" i18n:translate="text_unmigrated_comments">
You have comments that have not been migrated to the new You have comments that have not been migrated to the new
commenting system that has been introduced in Plone 4.1. commenting system that has been introduced in Plone 4.1.
Please Please
@ -77,8 +77,8 @@
>migrate your comments</a> >migrate your comments</a>
</tal:link> </tal:link>
to fix this. to fix this.
</dd> </span>
</dl> </div>
<div metal:use-macro="context/global_statusmessage/macros/portal_message"> <div metal:use-macro="context/global_statusmessage/macros/portal_message">
Portal status message Portal status message