Ignore:
Timestamp:
08/13/07 17:14:15 (12 years ago)
Author:
jukka
Message:

Fixed tests and other stuff, fixed #1376, closed #1420.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/skins/lemill/group_invite.cpt

    r1921 r1930  
    3737                          inviter mtool/getHomeFolder;                           
    3838                          groupslist inviter/getGroups; 
    39                           inviteds_grouplist invited/getGroups; 
     39                          inviteds_groupids python:[o.id for o in invited.getGroups()]; 
    4040                          "> 
    4141 
     
    4545        <p i18n:translate="invite_group_message">You can invite <span i18n:name="firstname_lastname" tal:replace="invited/NiceName">Firstname Lastname</span> to join your groups. This invitation will be sent by e-mail.</p> 
    4646         
    47         <span tal:repeat="gr groupslist" tal:omit-tag=""> 
     47        <span tal:repeat="group groupslist" tal:omit-tag=""> 
    4848         
    49         <div tal:define="group python:context.getGroupById(gr)"> 
     49        <div> 
    5050        <input type="checkbox" name="groupname" id="groupname" value="True" tal:attributes=" 
    51         disabled python:gr in inviteds_grouplist; 
    52         name gr; 
    53         id gr; 
     51        disabled python:group.id in inviteds_groupids; 
     52        name group/id; 
     53        id group/id; 
    5454        tabindex tabindex/next" /> 
    55         <span tal:replace="group/NiceName">Groups name</span>  
    56         <span tal:condition="python:gr in inviteds_grouplist" i18n:translate="already_member">(already a member)</span> 
     55        <span tal:replace="group/Title">Groups name</span>  
     56        <span tal:condition="python:group.id in inviteds_groupids" i18n:translate="already_member">(already a member)</span> 
    5757        </div>         
    5858                 
Note: See TracChangeset for help on using the changeset viewer.