summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-12 15:33:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-12 15:33:31 +0000
commitd58762a52dd7410b302532c0bc5d6b0082287a76 (patch)
tree06a6711f293ce0dab6c231cd2f3c4646436f4d7e /app/views/projects
parentc66943c9b893483883e7c18e55aea7587f9f7bbd (diff)
downloadredmine-d58762a52dd7410b302532c0bc5d6b0082287a76.tar.gz
redmine-d58762a52dd7410b302532c0bc5d6b0082287a76.zip
Roadmap: sort issues by project and prepend project name if different (#4373).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3163 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/roadmap.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml
index 7b0a11dc6..a31b35385 100644
--- a/app/views/projects/roadmap.rhtml
+++ b/app/views/projects/roadmap.rhtml
@@ -14,7 +14,7 @@
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
<ul>
<%- issues.each do |issue| -%>
- <li><%= link_to_issue(issue) %></li>
+ <li><%= link_to_issue(issue, :project => (@project != issue.project)) %></li>
<%- end -%>
</ul>
</fieldset>
@@ -29,7 +29,7 @@
<h3><%= l(:label_roadmap) %></h3>
<% @trackers.each do |tracker| %>
<label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %>
- <%= tracker.name %></label><br />
+ <%=h tracker.name %></label><br />
<% end %>
<br />
<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>