Show a warning in the moderation view if the moderation workflow is disabled.
svn path=/plone.app.discussion/trunk/; revision=35341
This commit is contained in:
		
							parent
							
								
									24a34d6919
								
							
						
					
					
						commit
						437094d951
					
				@ -4,6 +4,9 @@ Changelog
 | 
			
		||||
1.0b4 (unreleased)
 | 
			
		||||
------------------
 | 
			
		||||
 | 
			
		||||
* Show a warning in the moderation view if the moderation workflow is disabled.
 | 
			
		||||
  [timo]
 | 
			
		||||
 | 
			
		||||
* Move 'Moderate comments' link from site actions to user actions.
 | 
			
		||||
  [timo]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -22,6 +22,17 @@
 | 
			
		||||
            Moderate comments
 | 
			
		||||
        </h1>
 | 
			
		||||
 | 
			
		||||
        <dl class="portalMessage warning"
 | 
			
		||||
            tal:condition="not: view/moderation_enabled">
 | 
			
		||||
            <dt> Warning </dt>
 | 
			
		||||
            <dd i18n:translate="message_moderation_disabled">
 | 
			
		||||
                Moderation workflow is disabled. You have to <a href=""
 | 
			
		||||
                tal:attributes="href string:${context/portal_url}/@@types-controlpanel">
 | 
			
		||||
                enable the 'Comment Review Workflow' for the Comment content 
 | 
			
		||||
                type</a> before you can moderate comments here.
 | 
			
		||||
            </dd>
 | 
			
		||||
        </dl>
 | 
			
		||||
        
 | 
			
		||||
        <form tal:condition="not:items">
 | 
			
		||||
            <fieldset id="fieldset-moderate-comments" class="formPanel">
 | 
			
		||||
                <p id="no-comments-message" i18n:translate="message_nothing_to_moderate">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user