Changeset 8035 for branches


Ignore:
Timestamp:
03/18/13 18:19:31 (6 years ago)
Author:
douglas
Message:

Ticket #3398 - Melhoria na exibição de dados dos eventos criados na agenda

Location:
branches/2.5/prototype/modules/calendar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/prototype/modules/calendar/css/style.css

    r7423 r8035  
    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; } 
  • branches/2.5/prototype/modules/calendar/js/helpers.js

    r8034 r8035  
    197197    if(path == undefined) 
    198198        path = ""; 
    199                  
     199          
     200          
    200201    if( !decoded ) 
    201         objEvent = DataLayer.decode( "schedulable:calendar", objEvent ); 
    202  
     202        objEvent = DataLayer.decode("schedulable:calendar", objEvent );  
     203  
     204        var dtstamp = objEvent.dtstamp;   
    203205    if(!isMail) 
    204         objEvent = DataLayer.encode( "schedulable:preview", objEvent ); 
    205          
     206                objEvent = DataLayer.encode( "schedulable:preview", objEvent );  
     207        objEvent.creationDate = dateFormat(parseInt(dtstamp),"dd/mm/yyyy");               
     208      
    206209    if(typeof(objEvent.id) == 'undefined'){ 
    207210        objEvent.alarms = Calendar.signatureOf[User.preferences.defaultCalendar || Calendar.calendarIds[0]].defaultAlarms || false; 
  • branches/2.5/prototype/modules/calendar/templates/event_add.ejs

    r7987 r8035  
    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.