Ignore:
Timestamp:
07/12/12 14:40:42 (12 years ago)
Author:
acoutinho
Message:

Ticket #2951 - Implementacao da funcionalidade de alarms desktop com suporte a eventos

Location:
sandbox/2.4.2-expresso1/prototype/modules/calendar/templates
Files:
2 edited

Legend:

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

    r6525 r6768  
    9292<script type='text/javascript' src='<?= MODULESURL ?>/js/calendar.codecs.js'></script> 
    9393<script type='text/javascript' src='<?= MODULESURL ?>/js/load.js'></script>      
     94<script type='text/javascript' src='<?= MODULESURL ?>/js/calendar.alarms.js'></script>   
    9495 
    9596<script type='text/javascript' src='<?= MODULESURL ?>/js/I18n.js'></script> 
     
    9798<script type="text/javascript" src="<?= MODULESURL ?>/js/init.js"></script> 
    9899<script type="text/javascript" src="<?= MODULESURL ?>/js/drag_area.js"></script> 
     100<script type="text/javascript" src="<?= MODULESURL ?>/js/desktop.notification.js"></script> 
    99101 
    100102</head> 
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/templates/preferences_calendar.ejs

    r5510 r6768  
    7272 
    7373                        <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                                         <%}%> 
     74                                <label for="useDesktopNotification">Usar alarme desktop:</label> 
     75                                <select name="useDesktopNotification" > 
     76                                        <option value="1" <%= data.preferences.useDesktopNotification == '1' ? 'selected="selected"' : '' %>>Sim</option> 
     77                                        <option value="0" <%= data.preferences.useDesktopNotification != '1' ? 'selected="selected"' : '' %>>Não</option> 
    7978                                </select> 
    8079                        </p> 
Note: See TracChangeset for help on using the changeset viewer.