Adds context menu for related issues on version view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fb0641d43f
commit
c9f31f0332
|
@ -34,13 +34,18 @@
|
|||
</div>
|
||||
|
||||
<% if @issues.present? %>
|
||||
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
|
||||
<ul>
|
||||
<% @issues.each do |issue| -%>
|
||||
<li><%= link_to_issue(issue) %></li>
|
||||
<% end -%>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<% form_tag({}) do -%>
|
||||
<table class="list related-issues">
|
||||
<caption><%= l(:label_related_issues) %></caption>
|
||||
<%- @issues.each do |issue| -%>
|
||||
<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 %>
|
||||
</table>
|
||||
<% end %>
|
||||
<%= context_menu issues_context_menu_path %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -336,6 +336,7 @@ div#roadmap .related-issues td.checkbox { display: none; }
|
|||
div#roadmap .wiki h1:first-child { display: none; }
|
||||
div#roadmap .wiki h1 { font-size: 120%; }
|
||||
div#roadmap .wiki h2 { font-size: 110%; }
|
||||
body.controller-versions.action-show div#roadmap .related-issues {width:auto;}
|
||||
|
||||
div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
|
||||
div#version-summary fieldset { margin-bottom: 1em; }
|
||||
|
|
Loading…
Reference in New Issue