Changeset 5927
- Timestamp:
- 04/12/12 10:22:24 (12 years ago)
- Location:
- trunk/prototype/modules/calendar/templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/templates/calendar_list.ejs
r5879 r5927 61 61 <div class="cal-list-options my-cal-list-options-<%= signature[i].calendar.id %> hidden"> 62 62 <ul> 63 < !--<li><a href="#" onclick="add_tab_configure_calendar(<%= signature[i].calendar.id %>);">Configurações</a></li>-->63 <li><a href="#" onclick="add_tab_configure_calendar(<%= signature[i].calendar.id %>);">Configurações</a></li> 64 64 <li><a href="#" onclick="show_modal_import_export(0, <%= signature[i].calendar.id %>);">Importar</a></li> 65 65 <li><a href="#" onclick="show_modal_import_export(1, <%= signature[i].calendar.id %>);">Exportar</a></li> -
trunk/prototype/modules/calendar/templates/configure_calendars_itemlist.ejs
r5341 r5927 1 <%var isOwner = parseInt(data.signature.isOwner) ? '' : 'readonly="readonly"'%> 1 2 <form method="POST" action="calendarSignature:configure"> 2 3 <input type="hidden" name="signature" value="<%=data.signature.id%>" /> … … 7 8 <p class="input-group"> 8 9 <label for="name">Nome da agenda:</label> 9 <input name="name" value="<%=data.calendar.name%>" type="text" class=""/>10 <input name="name" value="<%=data.calendar.name%>" <%= isOwner %> type="text" class=""/> 10 11 </p> 11 12 12 13 <p class="input-group"> 13 14 <label for="description">Descrição:</label> 14 <input name="description" value="<%=data.calendar.description%>" type="text" class=""/>15 <input name="description" value="<%=data.calendar.description%>" <%= isOwner %> type="text" class=""/> 15 16 </p> 16 17 17 18 <p class="input-group"> 18 19 <label for="duration">Duração padrão de evento:</label> 19 <input name="duration" value="<%=data.calendar.defaultDuration%>" type="text" class="number"/>20 <input name="duration" value="<%=data.calendar.defaultDuration%>" <%= isOwner %> type="text" class="number"/> 20 21 </p> 21 22 22 23 <p class="input-group"> 23 24 <label for="timezone">Fuso horário da agenda:</label> 25 <%if(data.signature.isOwner == 0){%> 26 <input name="timezone" value="<%=data.calendar.timezone%>" size="50" readonly="readonly" type="text" class=""/> 27 <%}else{%> 24 28 <select name="timezone"> </select> 29 <%}%> 25 30 </p> 26 31 27 32 <p class="input-group"> 28 33 <label for="location">URL:</label> 29 <input name="location" value="<%=data.calendar.location%>" type="text" class=""/>34 <input name="location" value="<%=data.calendar.location%>" <%= isOwner %> type="text" class=""/> 30 35 </p> 31 36
Note: See TracChangeset
for help on using the changeset viewer.