-
<%= link_to "所有#{@versions_count}".html_safe, project_roadmap_path(@project, :type => "1"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_1" %>
-
<%= link_to "打开#{@versions_open_count}".html_safe, project_roadmap_path(@project, :type => "2"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_2" %>
-
<%= link_to "锁定#{@versions_locked_count}".html_safe, project_roadmap_path(@project, :type => "3"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_3" %>
-
<%= link_to "关闭#{@versions_closed_count}".html_safe, project_roadmap_path(@project, :type => "4"), :remote => true, :class => "new_roadmap_type_nomal", :id => "new_roadmap_type_1", :id => "new_roadmap_type_4" %>
<% if ( is_project_member?(User.current.id, @project.id) && role_of_members_in_project(@project.id, User.current.id) != 'Reporter') || User.current.admin? %>
<%= link_to "新建", new_project_version_path(@project, :is_create => true), :class => 'task-btn task-btn-orange fr mr15 mt15', :remote => true %>
<% end %>
<% if @versions_count > 0 %>
<%= render :partial => "versions/list" %>
<% else %>
<%= render :partial => "welcome/no_data" %>
<% end %>