Ignore:
Timestamp:
07/25/12 17:05:36 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - Criacao e edicao de tarefas / suporte a anexos, alarmes, participantes e mapa de disponibilidade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/templates/participants_add_itemlist.ejs

    r6203 r6876  
    22        <div style="overflow:hidden; width:100%; display:table;"> 
    33                <div class="attendee-options"> 
    4                         <%if( !data[0].isDirty && (data[0].acl.organization || data[0].acl.write || data[0].acl.inviteGuests) ){%> 
     4                        <%if( (!data[0].isDirty && data[0].notEvent) || (!data[0].isDirty && data[0].acl && (data[0].acl.organization || data[0].acl.write || data[0].acl.inviteGuests))){%> 
    55                                <a href="#" class="button delegate attendee-options-button-delegate new">Delegar participação a este participante</a> 
    66                        <%}%> 
    7                         <%if(data[0].acl.organization || data[0].acl.write){%> 
     7                        <%if(!data[0].noEvent && data[0].acl && (data[0].acl.organization || data[0].acl.write)){%> 
    88                                <a class="button edit attendee-options-button-edit new">Editar permissões</a> 
    99                        <%}%> 
     
    1414                <input type="hidden" name="attendee[]" value="<%= data[0].id %>"> 
    1515                <input type="hidden" name="attendeeType[]" value="<%=data[0].isExternal%>"> 
    16                 <input type="hidden" name="attendeeAcl[]" value="r"> 
     16                <%if(!data[0].noEvent){%> 
     17            <input type="hidden" name="attendeeAcl[]" value="r"> 
     18        <%}%> 
    1719                <input type="hidden" name="delegatedFrom[]" value="0"> 
    1820                <label title="<%= data[0].name ? data[0].name : '' %>" class="name"><%= data[0].name ? data[0].name : '' %></label> 
     
    2022 
    2123        </div> 
    22          
    2324</li> 
Note: See TracChangeset for help on using the changeset viewer.