Ignore:
Timestamp:
08/10/12 19:11:37 (12 years ago)
Author:
acoutinho
Message:

Ticket #2966 - Merge de novas funcionalidades com trunk #2951, #2952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/templates/preferences_calendar.ejs

    r6921 r6996  
    7171                        </p> 
    7272 
     73                        <p class="input-group">  
     74                <label for="defaultCalendar">Agenda padrão:</label>  
     75                <select name="defaultCalendar" >  
     76                    <%for(var i = 0; i < data.calendars.length; i++){%>  
     77                        <option value="<%=data.calendars[i].id%>"> <%= data.calendars[i].name %></option>  
     78                    <%}%>  
     79                </select> 
     80                        </p> 
     81 
    7382                        <p class="input-group"> 
    74                                 <label for="defaultCalendar">Agenda padrão:</label> 
    75                                 <select name="defaultCalendar" > 
    76                                         <%for(var i = 0; i < data.calendars.length; i++){%> 
    77                                                 <option value="<%=data.calendars[i].id%>"> <%= data.calendars[i].name %></option> 
    78                                         <%}%> 
     83                                <label for="useDesktopNotification">Usar alarme desktop:</label> 
     84                                <select name="useDesktopNotification" > 
     85                                        <option value="1" <%= data.preferences.useDesktopNotification == '1' ? 'selected="selected"' : '' %>>Sim</option> 
     86                                        <option value="0" <%= data.preferences.useDesktopNotification != '1' ? 'selected="selected"' : '' %>>Não</option> 
    7987                                </select> 
    8088                        </p> 
Note: See TracChangeset for help on using the changeset viewer.