Changeset 7022 for trunk/prototype/modules/calendar/templates
- Timestamp:
- 08/15/12 12:07:23 (12 years ago)
- Location:
- trunk/prototype/modules/calendar/templates
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/templates/calendar_day_print.ejs
r6996 r7022 22 22 var title_type = ""; 23 23 if(data.days.events[0][jj].events[ii].type == '1'){ 24 img_type = "../prototype/modules/calendar/img/ event.png";24 img_type = "../prototype/modules/calendar/img/mini-event.png"; 25 25 title_type = "Evento"; 26 26 }if(data.days.events[0][jj].events[ii].type == '2'){ 27 img_type = "../prototype/modules/calendar/img/ task.png";27 img_type = "../prototype/modules/calendar/img/mini-task.png"; 28 28 title_type = "Tarefa"; 29 29 }if(data.days.events[0][jj].events[ii].type == '3'){ 30 img_type = "../prototype/modules/calendar/img/ activity_icon.jpg";30 img_type = "../prototype/modules/calendar/img/mini-activity.png"; 31 31 title_type = "Atividade"; 32 32 } … … 52 52 title_type = "Tarefa"; 53 53 }if(data.days.events[0][jj].events[ii].type == '3'){ 54 img_type = "../prototype/modules/calendar/img/ activity_icon.jpg";54 img_type = "../prototype/modules/calendar/img/mini-activity.png"; 55 55 title_type = "Atividade"; 56 56 } -
trunk/prototype/modules/calendar/templates/calendar_list_print.ejs
r6996 r7022 37 37 </head> 38 38 <body class="<%= valid.class %>"> 39 <div class="title_print"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %> </div> 39 40 <%= data.html %> 40 41 </body> -
trunk/prototype/modules/calendar/templates/calendar_month_print.ejs
r6996 r7022 35 35 title_type = "Tarefa"; 36 36 }if(data.days.events[i][jj].events[ii].type == '3'){ 37 img_type = "../prototype/modules/calendar/img/ activity_icon.jpg";37 img_type = "../prototype/modules/calendar/img/mini-activity.png"; 38 38 title_type = "Atividade"; 39 39 } -
trunk/prototype/modules/calendar/templates/calendar_week_print.ejs
r6996 r7022 8 8 9 9 <div class="week"> 10 <div class=" name-month"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %></div>10 <div class="title_print"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %></div> 11 11 <% if(data.days){ 12 12 delete data.days.events[7]; %> … … 36 36 if(data.days.events[i][eachInd].events){ 37 37 for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 38 var img_type = ""; 39 var title_type = ""; 40 if(data.days.events[i][eachInd].events[ii].type == '1'){ 41 img_type = "../prototype/modules/calendar/img/mini-event.png"; 42 title_type = "Evento"; 43 }if(data.days.events[i][eachInd].events[ii].type == '2'){ 44 img_type = "../prototype/modules/calendar/img/mini-task.png"; 45 title_type = "Tarefa"; 46 }if(data.days.events[i][eachInd].events[ii].type == '3'){ 47 img_type = "../prototype/modules/calendar/img/mini-activity.png"; 48 title_type = "Atividade"; 49 } 38 50 if(data.days.events[i][eachInd].events[ii].allDay == true){ 39 51 aux = true; 40 52 %> 41 53 <!-- Aqui dia todo --> 42 <div class="event-all-day"> <%= data.days.events[i][eachInd].events[ii].summary %></div>54 <div class="event-all-day"><img title="<%= title_type %>" src="<%= img_type %>"><%= data.days.events[i][eachInd].events[ii].summary %></div> 43 55 <% 44 56 } … … 57 69 <% 58 70 59 if(data.days.events[i][eachInd].events){ 60 for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 61 62 if(data.days.events[i][eachInd].events[ii].allDay == false){ 63 var startHour = data.days.events[i][eachInd].events[ii].startHour; 64 var endHour = data.days.events[i][eachInd].events[ii].endHour; 71 if(data.days.events[i][eachInd].events){ 72 for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 73 74 var img_type = ""; 75 var title_type = ""; 76 if(data.days.events[i][eachInd].events[ii].type == '1'){ 77 img_type = "../prototype/modules/calendar/img/mini-event.png"; 78 title_type = "Evento"; 79 }if(data.days.events[i][eachInd].events[ii].type == '2'){ 80 img_type = "../prototype/modules/calendar/img/mini-task.png"; 81 title_type = "Tarefa"; 82 }if(data.days.events[i][eachInd].events[ii].type == '3'){ 83 img_type = "../prototype/modules/calendar/img/mini-activity.png"; 84 title_type = "Atividade"; 85 } 86 87 if(data.days.events[i][eachInd].events[ii].allDay == false){ 88 var startHour = data.days.events[i][eachInd].events[ii].startHour; 89 var endHour = data.days.events[i][eachInd].events[ii].endHour; 65 90 %> 66 <!-- Aqui o restante -->91 <!-- Aqui o restante --> 67 92 68 <div class="event-on-day"><%= data.days.events[i][eachInd].events[ii].summary %> | <%= startHour %> - <%= endHour %></div>93 <div class="event-on-day"><img title="<%= title_type %>" src="<%= img_type %>"><%= startHour %> - <%= endHour %> | <%= data.days.events[i][eachInd].events[ii].summary %></div> 69 94 <% 70 }71 95 } 72 96 } 97 } 73 98 %> 74 99 </div> -
trunk/prototype/modules/calendar/templates/calendar_year_print.ejs
r6996 r7022 8 8 <body> 9 9 <div class="year_print"> 10 <div class=" year_print_header"><h2><%= data.header %></h2></div>10 <div class="title_print"><img src="../prototype/modules/calendar/img/navbar.png"> <%= data.header %></div> 11 11 <div class="year_print_content"> 12 12 <%= data.html %> -
trunk/prototype/modules/calendar/templates/event_list.ejs
r6996 r7022 59 59 title_type = "Tarefa"; 60 60 }if(_event.type == '3'){ 61 img_type = "../prototype/modules/calendar/img/ activity_icon.jpg";61 img_type = "../prototype/modules/calendar/img/big-activity.png"; 62 62 title_type = "Atividade"; 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.