diff --git a/app/views/challenges/_content_list.html.erb b/app/views/challenges/_content_list.html.erb index cc9450b0a..954fc79dd 100644 --- a/app/views/challenges/_content_list.html.erb +++ b/app/views/challenges/_content_list.html.erb @@ -4,7 +4,9 @@ <% if @challenges.count != 0 %> <%= @challenges.count %> <% end %> - 新建阶段 + <% if User.current.manager_of_shixun?(@shixun) || User.current.admin? %> + 新建阶段 + <% end %>