@@ -18,7 +18,7 | |||||
18 | <% @events_by_day[day].sort {|x,y| y.created_on <=> x.created_on }.each do |e| %> |
|
18 | <% @events_by_day[day].sort {|x,y| y.created_on <=> x.created_on }.each do |e| %> | |
19 | <li><p> |
|
19 | <li><p> | |
20 | <% if e.is_a? Issue %> |
|
20 | <% if e.is_a? Issue %> | |
21 |
<%= e.created_on.strftime("%H:%M") %> <%= e.tracker.name |
|
21 | <%= e.created_on.strftime("%H:%M") %> <%= link_to "#{e.tracker.name} ##{e.id}", :controller => 'issues', :action => 'show', :id => e %> (<%= e.status.name %>): <%= e.subject %><br /> | |
22 | <i><%= e.author.name %></i> |
|
22 | <i><%= e.author.name %></i> | |
23 | <% elsif e.is_a? News %> |
|
23 | <% elsif e.is_a? News %> | |
24 | <%= e.created_on.strftime("%H:%M") %> <%=l(:label_news)%>: <%= link_to e.title, :controller => 'news', :action => 'show', :id => e %><br /> |
|
24 | <%= e.created_on.strftime("%H:%M") %> <%=l(:label_news)%>: <%= link_to e.title, :controller => 'news', :action => 'show', :id => e %><br /> |
@@ -42,7 +42,7 while day <= @date_to | |||||
42 | elsif day == i.due_date |
|
42 | elsif day == i.due_date | |
43 | image_tag('arrow_to') |
|
43 | image_tag('arrow_to') | |
44 | end %> |
|
44 | end %> | |
45 |
<%= i.tracker.name |
|
45 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small><br /> | |
46 | <% end %> |
|
46 | <% end %> | |
47 | </td> |
|
47 | </td> | |
48 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
|
48 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
@@ -102,7 +102,7 t_height = g_height + headers_heigth | |||||
102 | top = headers_heigth + 8 |
|
102 | top = headers_heigth + 8 | |
103 | @issues.each do |i| %> |
|
103 | @issues.each do |i| %> | |
104 | <div style="position: absolute;line-height:1em;height:16px;top:<%= top %>px;left:4px;width:<%= subject_width - 5 %>px;overflow:hidden;"> |
|
104 | <div style="position: absolute;line-height:1em;height:16px;top:<%= top %>px;left:4px;width:<%= subject_width - 5 %>px;overflow:hidden;"> | |
105 | <small><%= link_to i.id, :controller => 'issues', :action => 'show', :id => i %> |
|
105 | <small><%= link_to "#{i.tracker.name} ##{i.id}", :controller => 'issues', :action => 'show', :id => i %>: | |
106 | <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> |
|
106 | <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> | |
107 | </div> |
|
107 | </div> | |
108 | <% top = top + 20 |
|
108 | <% top = top + 20 |
General Comments 0
You need to be logged in to leave comments.
Login now