##// END OF EJS Templates
Removed leading dash in ruby code....
Jean-Philippe Lang -
r6061:e950c9db5af9
parent child
Show More
@@ -1,58 +1,58
1 1 <div class="contextual">
2 2 <%= link_to l(:label_version_new), {:controller => 'versions', :action => 'new'}, :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>
3 3 </div>
4 4
5 5 <h2><%=l(:label_roadmap)%></h2>
6 6
7 7 <% if @versions.empty? %>
8 8 <p class="nodata"><%= l(:label_no_data) %></p>
9 9 <% else %>
10 10 <div id="roadmap">
11 11 <% @versions.each do |version| %>
12 12 <h3 class="version"><%= tag 'a', :name => version.name %><%= link_to_version version %></h3>
13 13 <%= render :partial => 'versions/overview', :locals => {:version => version} %>
14 14 <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
15 15
16 16 <% if (issues = @issues_by_version[version]) && issues.size > 0 %>
17 17 <% form_tag({}) do -%>
18 18 <table class="list related-issues">
19 19 <caption><%= l(:label_related_issues) %></caption>
20 <%- issues.each do |issue| -%>
20 <% issues.each do |issue| -%>
21 21 <tr class="hascontextmenu">
22 22 <td class="checkbox"><%= check_box_tag 'ids[]', issue.id %></td>
23 23 <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td>
24 24 </tr>
25 <%- end -%>
25 <% end -%>
26 26 </table>
27 27 <% end %>
28 28 <% end %>
29 29 <%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
30 30 <% end %>
31 31 </div>
32 32 <% end %>
33 33
34 34 <% content_for :sidebar do %>
35 35 <% form_tag({}, :method => :get) do %>
36 36 <h3><%= l(:label_roadmap) %></h3>
37 37 <% @trackers.each do |tracker| %>
38 38 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s), :id => nil %>
39 39 <%=h tracker.name %></label><br />
40 40 <% end %>
41 41 <br />
42 42 <label for="completed"><%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %></label>
43 43 <% if @project.descendants.active.any? %>
44 44 <%= hidden_field_tag 'with_subprojects', 0 %>
45 45 <br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
46 46 <% end %>
47 47 <p><%= submit_tag l(:button_apply), :class => 'button-small', :name => nil %></p>
48 48 <% end %>
49 49
50 50 <h3><%= l(:label_version_plural) %></h3>
51 51 <% @versions.each do |version| %>
52 52 <%= link_to format_version_name(version), "##{version.name}" %><br />
53 53 <% end %>
54 54 <% end %>
55 55
56 56 <% html_title(l(:label_roadmap)) %>
57 57
58 58 <%= context_menu issues_context_menu_path %>
General Comments 0
You need to be logged in to leave comments. Login now