From 26cd4d9f6680f78fb4fef113215b16fc8ebcb28a Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Tue, 21 Jan 2014 17:04:55 +0800 Subject: [PATCH] file idnex.html --- app/views/files/index.html.erb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 0fc4fed4c..bb07edea5 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -55,14 +55,9 @@ <%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区
-<% if @project.project_type == 1 %> - <% label_str = l(:label_file_upload) %> -<% else %> - <% label_str = l(:label_attachment_new) %> -<% end %> <%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
-<%=(@project.project_type == 1) ? t(:label_user_course) : t(:label_project) %>文件共享专区 + <% delete_allowed = User.current.allowed_to?(:manage_files, @project) %>