@@ -18,7 +18,7 | |||
|
18 | 18 | <% @events_by_day[day].sort {|x,y| y.created_on <=> x.created_on }.each do |e| %> |
|
19 | 19 | <li><p> |
|
20 | 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 | 22 | <i><%= e.author.name %></i> |
|
23 | 23 | <% elsif e.is_a? News %> |
|
24 | 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 | 42 | elsif day == i.due_date |
|
43 | 43 | image_tag('arrow_to') |
|
44 | 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 | 46 | <% end %> |
|
47 | 47 | </td> |
|
48 | 48 | <%= '</tr><tr height="100">' if day.cwday >= 7 and day!=@date_to %> |
@@ -102,7 +102,7 t_height = g_height + headers_heigth | |||
|
102 | 102 | top = headers_heigth + 8 |
|
103 | 103 | @issues.each do |i| %> |
|
104 | 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 | 106 | <%= i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %></small> |
|
107 | 107 | </div> |
|
108 | 108 | <% top = top + 20 |
General Comments 0
You need to be logged in to leave comments.
Login now