Changeset 854

Show
Ignore:
Timestamp:
04/26/07 07:57:22
Author:
mylan
Message:

Add check permission for configlets.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneComments/trunk/skins/qplonecomments/prefs_comments_setup_form.cpt

    r613 r854  
    1212    <div metal:define-macro="main" i18n:domain="plonecomments"> 
    1313    <div class="configlet"> 
    14     <div class="documentEditable"> 
     14    <div class="documentEditable" 
     15         tal:condition="python:checkPermission('Moderate Discussion', here)"> 
    1516 
    1617    <!-- simulating views on the configure/comments pages until we have real objects. --> 
  • qPloneComments/trunk/skins/qplonecomments/prefs_recent_comments_form.cpt

    r805 r854  
    1212    <div metal:define-macro="main"> 
    1313    <div class="configlet"> 
    14     <div class="documentEditable"> 
     14    <div class="documentEditable" 
     15         tal:condition="python:checkPermission('Moderate Discussion', here)"> 
    1516    <!-- simulating views on the configure/comments pages until we have real objects. --> 
    1617    <ul class="contentViews">