##// END OF EJS Templates
Merged r15490 to r15493, r15496, r15497 (#22951)....
Merged r15490 to r15493, r15496, r15497 (#22951). git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15500 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14988:860ae0631ad5
r15118:8516e1c88dfe
Show More
index.html.erb
102 lines | 3.4 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds a 'New version' link on the roadmap....
r6049 <div class="contextual">
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <%= link_to(l(:label_version_new), new_project_version_path(@project),
:class => 'icon icon-add') if User.current.allowed_to?(:manage_versions, @project) %>
Jean-Philippe Lang
Adds a 'New version' link on the roadmap....
r6049 </div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <h2><%=l(:label_roadmap)%></h2>
Jean-Philippe Lang
Application layout refactored....
r736 <% if @versions.empty? %>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <p class="nodata"><%= l(:label_no_data) %></p>
Jean-Philippe Lang
Roadmap enhancements (closes #697, #698):...
r1154 <% else %>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <div id="roadmap">
<% @versions.each do |version| %>
Jean-Philippe Lang
Additional CSS class for version status (#21434)....
r14888 <article class="version-article <%= version.css_classes %>">
Jean-Philippe Lang
Adds edit links on the roadmap (#22756)....
r14988 <% if User.current.allowed_to?(:manage_versions, version.project) %>
<div class="contextual">
<%= link_to l(:button_edit), edit_version_path(version), :title => l(:button_edit), :class => 'icon-only icon-edit' %>
</div>
<% end %>
Jean-Philippe Lang
Put roadmap versions in <article> tags (#19341)....
r13927 <header>
<h3 class="version"><%= link_to_version version, :name => version_anchor(version) %></h3>
</header>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942 <%= render :partial => 'versions/overview', :locals => {:version => version} %>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <%= render(:partial => "wiki/content",
:locals => {:content => version.wiki_page.content}) if version.wiki_page %>
Jean-Philippe Lang
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666)....
r3009 <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <%= 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, false, :id => nil %></td>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 </tr>
<% end -%>
</table>
<% end %>
Jean-Philippe Lang
Roadmap enhancements (closes #697, #698):...
r1154 <% end %>
Eric Davis
Added plugin hook :view_projects_roadmap_version_bottom. #2543...
r2366 <%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
Jean-Philippe Lang
Put roadmap versions in <article> tags (#19341)....
r13927 </article>
Toshi MARUYAMA
code layout clean up app/views/versions/index.html.erb...
r11548 <% end %>
</div>
Jean-Philippe Lang
added svn:eol-style native property on /app files...
r330 <% end %>
Jean-Philippe Lang
Application layout refactored....
r736
<% content_for :sidebar do %>
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= form_tag({}, :method => :get) do %>
Jean-Philippe Lang
Application layout refactored....
r736 <h3><%= l(:label_roadmap) %></h3>
Toshi MARUYAMA
use li tags for trackers in version index (#13242)...
r11549 <ul>
Jean-Philippe Lang
Application layout refactored....
r736 <% @trackers.each do |tracker| %>
Toshi MARUYAMA
use li tags for trackers in version index (#13242)...
r11549 <li>
<label>
<%= check_box_tag("tracker_ids[]", tracker.id,
(@selected_tracker_ids.include? tracker.id.to_s),
:id => nil) %>
Toshi MARUYAMA
remove unneeded h() from versions index tracker name...
r11550 <%= tracker.name %>
Toshi MARUYAMA
use li tags for trackers in version index (#13242)...
r11549 </label>
</li>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Toshi MARUYAMA
use li tags for trackers in version index (#13242)...
r11549 </ul>
<p></p>
Toshi MARUYAMA
use li tags for label completed versions and subproject in version index sidebar (#13242)...
r11553 <ul>
<li>
<label for="completed">
<%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %>
</label>
</li>
<% if @project.descendants.active.any? %>
<li>
Jean-Philippe Lang
Removed duplicate element ids....
r13262 <%= hidden_field_tag 'with_subprojects', 0, :id => nil %>
Toshi MARUYAMA
use li tags for label completed versions and subproject in version index sidebar (#13242)...
r11553 <label>
<%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%>
</label>
</li>
<% end %>
</ul>
Jean-Philippe Lang
Use GET instead of POST on roadmap (#718), gantt and calendar forms....
r1373 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
<h3><%= l(:label_version_plural) %></h3>
Toshi MARUYAMA
use li tags for versions in version index (#13242)...
r11551 <ul>
Jean-Philippe Lang
Application layout refactored....
r736 <% @versions.each do |version| %>
Toshi MARUYAMA
use li tags for versions in version index (#13242)...
r11551 <li>
<%= link_to(format_version_name(version), "##{version_anchor(version)}") %>
</li>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Toshi MARUYAMA
use li tags for versions in version index (#13242)...
r11551 </ul>
Jean-Philippe Lang
Provide a direct access to completed versions form the roadmap....
r8579 <% if @completed_versions.present? %>
<p>
Toshi MARUYAMA
replace tabs to spaces at app/views/versions/index.html.erb...
r11400 <%= link_to_function l(:label_completed_versions),
'$("#toggle-completed-versions").toggleClass("collapsed"); $("#completed-versions").toggle()',
Toshi MARUYAMA
use li tags for completed versions in version index sidebar (#13242)...
r11552 :id => 'toggle-completed-versions', :class => 'collapsible collapsed' %>
<ul id = "completed-versions" style = "display:none;">
<% @completed_versions.each do |version| %>
Jean-Philippe Lang
Links to completed versions on the roadmap page might lead to a "403 not authorized page" (#19030)....
r13606 <li><%= link_to_version version %></li>
Toshi MARUYAMA
use li tags for completed versions in version index sidebar (#13242)...
r11552 <% end %>
</ul>
Jean-Philippe Lang
Provide a direct access to completed versions form the roadmap....
r8579 </p>
<% end %>
Jean-Philippe Lang
Application layout refactored....
r736 <% end %>
Jean-Philippe Lang
Added version details view accessible from the roadmap....
r942
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_roadmap)) %>
Jean-Philippe Lang
Adds context menu to the roadmap issue lists....
r3433
Jean-Baptiste Barth
Fixed broken context_menu on roadmap. #6351...
r3968 <%= context_menu issues_context_menu_path %>