From e2f7da5b9950e2068959ebee75547ed91dbd7125 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 16 Apr 2015 10:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8C=E7=A8=8B=E7=A2=91?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/versions/index.html.erb | 103 ------------------------------ 1 file changed, 103 deletions(-) diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb index 2e9004de3..be4fb27ef 100644 --- a/app/views/versions/index.html.erb +++ b/app/views/versions/index.html.erb @@ -70,109 +70,6 @@ <% end %> - - - - - - - -
-

<%= l(:label_roadmap) %>

-
-
- <%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %> -
- - - - - - -<% if @versions.empty? %> -

<%= l(:label_no_data) %>

-<% else %> -
- <% @versions.each do |version| %> -
-

-

- <%= link_to_version version, :name => version_anchor(version) %> - <% if version.completed? %> - <%= format_date(version.effective_date) %> - <% elsif version.effective_date %> - <%= due_date_distance_in_words(version.effective_date) %> (<%= format_date(version.effective_date) %>) - <% end %> -

-

- <%= render :partial => 'versions/overview', :locals => {:version => version} %> - <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> - <% if (issues = @issues_by_version[version]) && issues.size > 0 %> - <%= form_tag({}) do -%> - - - <% issues.each do |issue| -%> - - - - <% end -%> - - <% end %> - <% end %> - - »<%= l(:label_versions_description)%> -

<%=h version.description %>

- <% if version.custom_field_values.any? %> -
    - <% version.custom_field_values.each do |custom_value| %> - <% if custom_value.value.present? %> -
  • <%=h custom_value.custom_field.name %>: <%=h show_value(custom_value) %>
  • - <% end %> - <% end %> -
- <% end %> - - <%= call_hook :view_projects_roadmap_version_bottom, :version => version %> -
- <% end %> - -
-<% end %> - - <% html_title(l(:label_roadmap)) %> <%= context_menu issues_context_menu_path %>