Changeset 7269 for trunk


Ignore:
Timestamp:
09/21/12 11:24:32 (12 years ago)
Author:
acoutinho
Message:

Ticket #3134 - Inconsistencias ao Manter Atividade e Configuracoes de Grupos

Location:
trunk/prototype/modules/calendar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/js/activity.helpers.js

    r7075 r7269  
    138138 
    139139UI.dialogs.addActivity.find('.button-add-alarms').click(function(){ 
    140             DataLayer.render( 'templates/alarms_add_itemlist.ejs', {type: 0}, function( template ){                      
     140            DataLayer.render( 'templates/alarms_add_itemlist.ejs', {type: 2}, function( template ){ 
    141141            jQuery('.activity-alarms-list').append(template) 
    142             .find('li:last label:eq(0)').remove().end() 
    143142            .find('.number').numeric().end() 
    144143            .find('.button.remove').button({ 
  • trunk/prototype/modules/calendar/templates/activity_add.ejs

    r7068 r7269  
    144144                                            <input type="hidden" name="alarmId[]" value="<%=data.activity.useAlarmDefault ? '' : alarms[i].id%>" /> 
    145145                                            <input type="hidden" name="isDefaultAlarm[]" value="<%=data.activity.useAlarmDefault ? 1 : 0%>" /> 
    146                                             <label> antes de cada activityo.</label> 
     146                                            <label> antes de cada atividade.</label> 
    147147                                            <a class="button remove tiny"></a> 
    148148                                        </li> 
  • trunk/prototype/modules/calendar/templates/alarms_add_itemlist.ejs

    r6996 r7269  
    3939                </select> 
    4040                <input type="hidden" name="alarmId[]" value="" /> 
    41                 <%if(!!!parseInt(data.type)){%> 
     41                <%if(parseInt(data.type) == 0){%> 
    4242                        <label>antes de cada evento.</label> 
     43                <%}else if (parseInt(data.type) == 1){%> 
     44                        <label>antes de cada tarefa.</label> 
    4345                <%}else{%> 
    44                         <label>antes de cada tarefa.</label> 
    45                 <%}%> 
     46            <label>antes de cada atividade.</label> 
     47        <%}%> 
    4648                <a class="button remove tiny"></a> 
    4749        </li> 
Note: See TracChangeset for help on using the changeset viewer.