show reply-to-comment button based on permissions/workflow.
svn path=/plone.app.discussion/trunk/; revision=27363
This commit is contained in:
		
							parent
							
								
									c55316d212
								
							
						
					
					
						commit
						5441976dca
					
				@ -84,7 +84,7 @@
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
                <a href="#" class="reply-to-comment-button" title="reply to this comment"
 | 
			
		||||
                   tal:condition="not:isAnon"
 | 
			
		||||
                   tal:condition="python:userHasReplyPermission and isDiscussionAllowed"
 | 
			
		||||
                   tal:attributes="onclick string:createReplyToCommentForm(${reply/id});
 | 
			
		||||
                                   id string:reply-to-comment-${reply/id}-button;
 | 
			
		||||
                                   href string:#comment-${reply/id}">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user