Adds context menu to the roadmap issue lists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3547 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-03-06 18:03:25 +00:00
parent d65922afde
commit 2af97616f7
3 changed files with 20 additions and 8 deletions

View File

@ -10,13 +10,17 @@
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
<% if (issues = @issues_by_version[version]) && issues.size > 0 %> <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend> <% form_tag({}) do -%>
<ul> <table class="list related-issues">
<caption><%= l(:label_related_issues) %></caption>
<%- issues.each do |issue| -%> <%- issues.each do |issue| -%>
<li><%= link_to_issue(issue, :project => (@project != issue.project)) %></li> <tr class="hascontextmenu">
<td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
<td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
</tr>
<%- end -%> <%- end -%>
</ul> </table>
</fieldset> <% end %>
<% end %> <% end %>
<%= call_hook :view_projects_roadmap_version_bottom, :version => version %> <%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
<% end %> <% end %>
@ -46,3 +50,5 @@
<% end %> <% end %>
<% html_title(l(:label_roadmap)) %> <% html_title(l(:label_roadmap)) %>
<%= context_menu :controller => 'issues', :action => 'context_menu' %>

View File

@ -4,6 +4,11 @@ Redmine - project management software
Copyright (C) 2006-2010 Jean-Philippe Lang Copyright (C) 2006-2010 Jean-Philippe Lang
http://www.redmine.org/ http://www.redmine.org/
== v1.0.0
Adds context menu to the roadmap issue lists
== 2010-02-28 v0.9.3 == 2010-02-28 v0.9.3
Adds filter for system shared versions on the cross project issue list Adds filter for system shared versions on the cross project issue list

View File

@ -107,7 +107,8 @@ table.list td.id { width: 2%; text-align: center;}
table.list td.checkbox { width: 15px; padding: 0px;} table.list td.checkbox { width: 15px; padding: 0px;}
table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; } table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
table.list td.buttons a { padding-right: 0.6em; } table.list td.buttons a { padding-right: 0.6em; }
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
tr.project td.name a { padding-left: 16px; white-space:nowrap; } tr.project td.name a { padding-left: 16px; white-space:nowrap; }
tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; } 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); }
#search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); } #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
div#roadmap fieldset.related-issues { margin-bottom: 1em; } div#roadmap .related-issues { margin-bottom: 1em; }
div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; } div#roadmap .related-issues td.checkbox { display: none; }
div#roadmap .wiki h1:first-child { display: none; } div#roadmap .wiki h1:first-child { display: none; }
div#roadmap .wiki h1 { font-size: 120%; } div#roadmap .wiki h1 { font-size: 120%; }
div#roadmap .wiki h2 { font-size: 110%; } div#roadmap .wiki h2 { font-size: 110%; }