|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -11,14 +11,7 while day <= calendar.enddt %> | |||
|
11 | 11 | <p class="day-num"><%= day.day %></p> |
|
12 | 12 | <% calendar.events_on(day).each do |i| %> |
|
13 | 13 | <% if i.is_a? Issue %> |
|
14 | <div class="<%= i.css_classes %> tooltip"> | |
|
15 | <%= if day == i.start_date && day == i.due_date | |
|
16 | image_tag('arrow_bw.png') | |
|
17 | elsif day == i.start_date | |
|
18 | image_tag('arrow_from.png') | |
|
19 | elsif day == i.due_date | |
|
20 | image_tag('arrow_to.png') | |
|
21 | end %> | |
|
14 | <div class="<%= i.css_classes %> <%= 'starting' if day == i.start_date %> <%= 'ending' if day == i.due_date %> tooltip"> | |
|
22 | 15 | <%= h("#{i.project} -") unless @project && @project == i.project %> |
|
23 | 16 | <%= link_to_issue i, :truncate => 30 %> |
|
24 | 17 | <span class="tip"><%= render_issue_tooltip i %></span> |
@@ -40,9 +40,11 | |||
|
40 | 40 | <% if @query.valid? %> |
|
41 | 41 | <%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %> |
|
42 | 42 | |
|
43 | <%= image_tag 'arrow_from.png' %> <%= l(:text_tip_task_begin_day) %><br /> | |
|
44 | <%= image_tag 'arrow_to.png' %> <%= l(:text_tip_task_end_day) %><br /> | |
|
45 | <%= image_tag 'arrow_bw.png' %> <%= l(:text_tip_task_begin_end_day) %><br /> | |
|
43 | <p class="legend cal"> | |
|
44 | <span class="starting"><%= l(:text_tip_task_begin_day) %></span> | |
|
45 | <span class="ending"><%= l(:text_tip_task_end_day) %></span> | |
|
46 | <span class="starting ending"><%= l(:text_tip_task_begin_end_day) %></span> | |
|
47 | </p> | |
|
46 | 48 | <% end %> |
|
47 | 49 | |
|
48 | 50 | <% content_for :sidebar do %> |
@@ -481,6 +481,10 table.cal td p.day-num {font-size: 1.1em; text-align:right;} | |||
|
481 | 481 | table.cal td.odd p.day-num {color: #bbb;} |
|
482 | 482 | table.cal td.today {background:#ffffdd;} |
|
483 | 483 | table.cal td.today p.day-num {font-weight: bold;} |
|
484 | table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;} | |
|
485 | table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;} | |
|
486 | table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;} | |
|
487 | p.cal.legend span {display:block;} | |
|
484 | 488 | |
|
485 | 489 | /***** Tooltips ******/ |
|
486 | 490 | .tooltip{position:relative;z-index:24;} |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
|
1 | NO CONTENT: file was removed, binary diff hidden |
General Comments 0
You need to be logged in to leave comments.
Login now