Changeset 1318 in products for quintagroup.plonecomments/trunk/quintagroup
- Timestamp:
- Oct 2, 2009 2:00:21 PM (15 years ago)
- Location:
- quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_comments_setup_form.cpt
r1201 r1318 12 12 <div metal:define-macro="main"> 13 13 <div class="configlet"> 14 <div class="documentEditable" 15 tal:condition="python:checkPermission('Moderate Discussion', here)"> 14 <div class="documentEditable"> 16 15 17 16 <!-- simulating views on the configure/comments pages until we have real objects. --> … … 25 24 <li class=""> 26 25 <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> 29 29 </li> 30 30 </ul> … … 183 183 184 184 <div class="field" 185 tal:condition="python:checkPermission('Moderate Discussion', here)" 185 186 tal:define="isEnabledManagerModeration python:checkPermission('Moderate Discussion', here);"> 186 187 -
quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/prefs_recent_comments_form.cpt
r822 r1318 12 12 <div metal:define-macro="main"> 13 13 <div class="configlet"> 14 <div class="documentEditable" 15 tal:condition="python:checkPermission('Moderate Discussion', here)"> 14 <div class="documentEditable"> 16 15 <!-- simulating views on the configure/comments pages until we have real objects. --> 17 16 <ul class="contentViews"> … … 35 34 36 35 <div class="documentContent" metal:define-slot="prefs_content" 36 tal:condition="python:checkPermission('Moderate Discussion', here)" 37 37 tal:define ="results python:here.portal_catalog.searchResults(portal_type='Discussion Item',review_state='private',sort_on='created',sort_order='reverse');"> 38 38
Note: See TracChangeset
for help on using the changeset viewer.