[vhffs-dev] [2222] also display the contact string that just need to be copy/ pasted to all good MUAs to moderators

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2222
Author:   gradator
Date:     2013-01-17 21:50:00 +0100 (Thu, 17 Jan 2013)
Log Message:
-----------
also display the contact string that just need to be copy/pasted to all good MUAs to moderators

Modified Paths:
--------------
    trunk/vhffs-panel/templates/group/prefs.tt

Modified: trunk/vhffs-panel/templates/group/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/group/prefs.tt	2013-01-17 20:40:05 UTC (rev 2221)
+++ trunk/vhffs-panel/templates/group/prefs.tt	2013-01-17 20:50:00 UTC (rev 2222)
@@ -50,13 +50,13 @@
 [% END # u.active %]
 [% END # u IN group_users %]
 
-[% IF current_user.is_admin() %]
+[% IF current_user.is_admin() OR current_user.is_moderator() %]
 <p>
 [% FOREACH u IN group_users %]
 [% u.firstname | html %] [% u.lastname | html %] &#60;[% u.mail | html %]&#62;[% ', ' UNLESS loop.last() %]
 [% END %]
 </p>
-[% END # current_user.is_admin() %]
+[% END # current_user.is_admin() OR current_user.is_moderator() %]
 
 <a name="add_user"></a>
 <h3>[% 'Add a user in this group' | i18n | html %]</h3>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/