Changeset 8031


Ignore:
Timestamp:
03/18/13 17:13:38 (6 years ago)
Author:
angelo
Message:

Ticket #3398 - Melhoria na exibicao de dados dos eventos criados na agenda

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

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/css/style.css

    r7423 r8031  
    5151.new-event-win fieldset#calendar_addevent_details5 .button-files-upload, .new-task-win fieldset#calendar_addevent_details5 .button-files-upload{margin: 15px 0 0 0} 
    5252.new-event-win fieldset fieldset, .new-event-win fieldset.tab-level2 fieldset, .new-task-win fieldset fieldset, .new-event-win fieldset.tab-level2 fieldset { padding: 5px 0; } 
     53.new-event-win .creation-date-label{ white-space: nowrap; } 
    5354 
    5455.new-activity-win fieldset { border: none; margin: 0; padding: 0; } 
  • trunk/prototype/modules/calendar/js/helpers.js

    r8028 r8031  
    196196    if(path == undefined) 
    197197        path = ""; 
    198                  
     198         
     199         
    199200    if( !decoded ) 
    200         objEvent = DataLayer.decode( "schedulable:calendar", objEvent ); 
    201  
     201        objEvent = DataLayer.decode("schedulable:calendar", objEvent ); 
     202 
     203        var dtstamp = objEvent.dtstamp;  
    202204    if(!isMail) 
    203         objEvent = DataLayer.encode( "schedulable:preview", objEvent ); 
    204          
     205                objEvent = DataLayer.encode( "schedulable:preview", objEvent ); 
     206        objEvent.creationDate = dateFormat(parseInt(dtstamp),"dd/mm/yyyy");              
     207     
    205208    if(typeof(objEvent.id) == 'undefined'){ 
    206209        objEvent.alarms = Calendar.signatureOf[User.preferences.defaultCalendar || Calendar.calendarIds[0]].defaultAlarms || false; 
  • trunk/prototype/modules/calendar/templates/event_add.ejs

    r7986 r8031  
    9393                        </select> 
    9494                </p> 
    95                  
     95                <p class="input-group"> 
     96                        <label class="creation-date-label">Criado em <%= data.event.creationDate %></label> 
     97                </p> 
     98 
    9699                <fieldset class="hidden"> 
    97100                        <legend class="hidden">Publicidade</legend> 
Note: See TracChangeset for help on using the changeset viewer.