Changeset 6812 for sandbox/2.4.2-expresso1/prototype/modules/calendar/templates/configure_calendars_itemlist.ejs
- Timestamp:
- 07/18/12 18:16:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.2-expresso1/prototype/modules/calendar/templates/configure_calendars_itemlist.ejs
r6498 r6812 1 <%var isOwner = parseInt(data.signature.isOwner) ? '' : 'readonly="readonly"'%> 1 <%var isOwner = parseInt(data.signature.isOwner) ? '' : 'readonly="readonly"'; 2 var isGroup = !!parseInt(data.signature.calendar.type);%> 2 3 <form method="POST" action="calendarSignature:configure"> 3 4 <input type="hidden" name="signature" value="<%=data.signature.id%>" /> … … 7 8 8 9 <p class="input-group"> 10 <%if(!isGroup){%> 9 11 <label for="name">Nome da agenda:</label> 12 <%}else{%> 13 <label for="name">Nome do grupo:</label> 14 <%}%> 10 15 <input name="name" value="<%=data.calendar.name%>" <%= isOwner %> type="text" class=""/> 11 16 </p> … … 15 20 <input name="description" value="<%=data.calendar.description%>" <%= isOwner %> type="text" class=""/> 16 21 </p> 17 22 <%if(!isGroup){%> 18 23 <p class="input-group"> 19 24 <label for="duration">Duração padrão de evento:</label> 20 25 <input name="duration" value="<%=data.calendar.defaultDuration%>" <%= isOwner %> type="text" class="number"/> 21 26 </p> 22 27 <%}%> 23 28 <p class="input-group"> 29 <%if(!isGroup){%> 24 30 <label for="timezone">Fuso horário da agenda:</label> 25 <%if(data.signature.isOwner == 0){%> 31 <%}else{%> 32 <label for="timezone">Fuso horário do grupo:</label> 33 <%} if(data.signature.isOwner == 0){%> 26 34 <input name="timezone" value="<%=data.calendar.timezone%>" size="50" readonly="readonly" type="text" class=""/> 27 35 <%}else{%> … … 29 37 <%}%> 30 38 </p> 31 39 <%if(!isGroup){%> 32 40 <p class="input-group"> 33 41 <label for="location">URL:</label> 34 42 <input name="location" value="<%=data.calendar.location%>" <%= isOwner %> type="text" class=""/> 35 43 </p> 36 44 <%}%> 37 45 </fieldset> 38 46 39 47 <fieldset class="configurations-colors"> 48 <%if(!isGroup){%> 40 49 <legend class="">Cores dos eventos desta agenda</legend> 41 50 <%} else{%> 51 <legend class="">Cores das tarefas deste grupo</legend> 52 <%}%> 42 53 <div class="calendar-colorpicker"></div> 43 54 </fieldset> … … 86 97 </select> 87 98 <input type="hidden" name="alarmId[]" value="<%=data.signature.defaultAlarms[i].id%>" /> 99 <%if(!isGroup){%> 88 100 <label>antes de cada evento.</label> 101 <%}else{%> 102 <label>antes de cada tarefa.</label> 103 <%}%> 89 104 <a class="button remove tiny">Excluir</a> 90 105 </li>
Note: See TracChangeset
for help on using the changeset viewer.