##// END OF EJS Templates
Adds context menu to the roadmap issue lists....
Jean-Philippe Lang -
r3433:2af97616f760
parent child
Show More
@@ -10,13 +10,17
10 <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
10 <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
11
11
12 <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
12 <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
13 <fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
13 <% form_tag({}) do -%>
14 <ul>
14 <table class="list related-issues">
15 <caption><%= l(:label_related_issues) %></caption>
15 <%- issues.each do |issue| -%>
16 <%- issues.each do |issue| -%>
16 <li><%= link_to_issue(issue, :project => (@project != issue.project)) %></li>
17 <tr class="hascontextmenu">
18 <td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
19 <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
20 </tr>
17 <%- end -%>
21 <%- end -%>
18 </ul>
22 </table>
19 </fieldset>
23 <% end %>
20 <% end %>
24 <% end %>
21 <%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
25 <%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
22 <% end %>
26 <% end %>
@@ -46,3 +50,5
46 <% end %>
50 <% end %>
47
51
48 <% html_title(l(:label_roadmap)) %>
52 <% html_title(l(:label_roadmap)) %>
53
54 <%= context_menu :controller => 'issues', :action => 'context_menu' %>
@@ -4,6 +4,11 Redmine - project management software
4 Copyright (C) 2006-2010 Jean-Philippe Lang
4 Copyright (C) 2006-2010 Jean-Philippe Lang
5 http://www.redmine.org/
5 http://www.redmine.org/
6
6
7 == v1.0.0
8
9 Adds context menu to the roadmap issue lists
10
11
7 == 2010-02-28 v0.9.3
12 == 2010-02-28 v0.9.3
8
13
9 Adds filter for system shared versions on the cross project issue list
14 Adds filter for system shared versions on the cross project issue list
@@ -107,6 +107,7 table.list td.id { width: 2%; text-align: center;}
107 table.list td.checkbox { width: 15px; padding: 0px;}
107 table.list td.checkbox { width: 15px; padding: 0px;}
108 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
108 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
109 table.list td.buttons a { padding-right: 0.6em; }
109 table.list td.buttons a { padding-right: 0.6em; }
110 table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
110
111
111 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
112 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
112 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
113 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
@@ -283,8 +284,8 dt.time-entry { background-image: url(../images/time.png); }
283
284
284 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
285 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
285
286
286 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
287 div#roadmap .related-issues { margin-bottom: 1em; }
287 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
288 div#roadmap .related-issues td.checkbox { display: none; }
288 div#roadmap .wiki h1:first-child { display: none; }
289 div#roadmap .wiki h1:first-child { display: none; }
289 div#roadmap .wiki h1 { font-size: 120%; }
290 div#roadmap .wiki h1 { font-size: 120%; }
290 div#roadmap .wiki h2 { font-size: 110%; }
291 div#roadmap .wiki h2 { font-size: 110%; }
General Comments 0
You need to be logged in to leave comments. Login now