<% if @project.shared_versions.empty? %>

<%= l(:milestone_no_data) %>

<% end %>
新建里程碑
<%= render :partial => 'projects/settings/new_versions_form', :locals => {:project => @project} %>
<% if @project.shared_versions.any? %>
<% @project.shared_versions.reverse.each do |version| %> <% end %>
名称 结束日期 描述 状态 操作
<%= format_date(version.effective_date) %> <%= l("version_status_#{version.status}") %> <% if version.project == @project && User.current.allowed_to?(:manage_versions, @project) %> <%= link_to l(:button_edit), edit_version_path(version, :is_setting => true), :class => 'sy_btn_blue mr5', :remote => true %> <%= delete_link_version version_path(version, :is_setting => true), :class=>"sy_btn_grey mr5", :remote => true %> <% end %>
<% end %>