Changeset 6904


Ignore:
Timestamp:
07/30/12 14:51:13 (12 years ago)
Author:
marcieli
Message:

Ticket #2966 - Implementação da funcionalidade imprimir calendário anual.

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

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/css/print.css

    r6902 r6904  
    6969        padding: 0px; 
    7070} 
     71.fc-year-have-event{ 
     72                border:2px solid #9cf !important; 
     73} 
     74.year_print_header { 
     75        width: 100%; 
     76} 
     77.year_print_header h2{ 
     78        text-align: center 
     79} 
     80.fc-year-monthly-td table{ 
     81        padding-left: 0px !important; 
     82} 
  • sandbox/2.4.2-expresso1/prototype/modules/calendar/js/helpers.js

    r6897 r6904  
    156156                                'title': 'Calendário Diário' 
    157157                        } )); 
    158                 }                        
     158                }        
     159                if($("#calendar").fullCalendar('getView').name == "year"){       
     160                        window_print.document.write(DataLayer.render('templates/calendar_year_print.ejs', { 
     161                                'html' : $('#calendar .fc-content').html(), 
     162                                'header': $('#calendar').find('.fc-header-center h2').text() 
     163                        } )); 
     164                }                
    159165                window_print.document.close(); 
    160166                window_print.print(); 
Note: See TracChangeset for help on using the changeset viewer.