Ignore:
Timestamp:
Oct 2, 2009 2:00:21 PM (15 years ago)
Author:
crchemist
Message:

hide 'Recent comments' tab and 'Enable Manager moderation' checkbox for manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_comments_setup_form.cpt

    r1201 r1318  
    1212    <div metal:define-macro="main"> 
    1313    <div class="configlet"> 
    14     <div class="documentEditable" 
    15          tal:condition="python:checkPermission('Moderate Discussion', here)"> 
     14    <div class="documentEditable"> 
    1615 
    1716    <!-- simulating views on the configure/comments pages until we have real objects. --> 
     
    2524        <li class=""> 
    2625        <a href="" 
    27         tal:attributes="href string:prefs_recent_comments_form" 
    28         i18n:translate="label_comments">Recent comments moderation</a> 
     26           tal:condition="python:checkPermission('Moderate Discussion', here)" 
     27           tal:attributes="href string:prefs_recent_comments_form" 
     28           i18n:translate="label_comments">Recent comments moderation</a> 
    2929        </li> 
    3030    </ul> 
     
    183183 
    184184                <div class="field" 
     185             tal:condition="python:checkPermission('Moderate Discussion', here)" 
    185186                     tal:define="isEnabledManagerModeration python:checkPermission('Moderate Discussion', here);"> 
    186187 
Note: See TracChangeset for help on using the changeset viewer.