summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-21 19:49:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-21 19:49:47 +0000
commitade572048a768c0ee330d444216469c0e9d97f42 (patch)
tree70b7a38585a4fabbf2e641ff1c0fc4aea47d23f3 /app/views/projects
parent7d1075507221fb0fe1344ddd58f7ee7f485a203c (diff)
downloadredmine-ade572048a768c0ee330d444216469c0e9d97f42.tar.gz
redmine-ade572048a768c0ee330d444216469c0e9d97f42.zip
Roadmap enhancements (closes #697, #698):
* separate related issues from wiki contents * leading h1 in version wiki pages is hidden (done using css, won't work with IE6) * smaller wiki headings * xhtml validation git-svn-id: http://redmine.rubyforge.org/svn/trunk@1168 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/roadmap.rhtml16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml
index fbfec4727..6a1b6b099 100644
--- a/app/views/projects/roadmap.rhtml
+++ b/app/views/projects/roadmap.rhtml
@@ -2,8 +2,8 @@
<% if @versions.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
-<% end %>
-
+<% else %>
+<div id="roadmap">
<% @versions.each do |version| %>
<%= tag 'a', :name => version.name %>
<h3 class="icon22 icon22-package"><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></h3>
@@ -16,8 +16,9 @@
:order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") unless @selected_tracker_ids.empty?
issues ||= []
%>
+ <% if issues.size > 0 %>
+ <fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>
<ul>
- <% if issues.size > 0 %>
<% issues.each do |issue| %>
<li>
<%= link = link_to_issue(issue)
@@ -25,19 +26,22 @@
<%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %>
</li>
<% end %>
- <% end %>
</ul>
+ </fieldset>
+ <% end %>
+<% end %>
+</div>
<% end %>
<% content_for :sidebar do %>
<% form_tag do %>
<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) %>
+ <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %>
<%= tracker.name %></label><br />
<% end %>
<br />
-<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
+<label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %>