From df717b6cc2464cad3e8499aae3fcc95f1971cf7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com>
Date: Wed, 4 Sep 2019 16:07:07 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4issue=20=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/files/_tool_settings.html.erb | 4 ++++
public/stylesheets/educoder/edu-all.css | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/views/files/_tool_settings.html.erb b/app/views/files/_tool_settings.html.erb
index ccce43b0..be9596bf 100644
--- a/app/views/files/_tool_settings.html.erb
+++ b/app/views/files/_tool_settings.html.erb
@@ -3,6 +3,7 @@
<% if User.current.admin? || (User.current.logged? ) %>
<% if User.current.admin? || ((is_project_manager?(User.current, project) || file.author_id == User.current.id) && project_contains_attachment?(project, file)) %>
<% if User.current.admin? || ((delete_allowed || User.current.id == file.author_id) && file.container_id == project.id && file.container_type == "Project") %>
+
<% if hidden_unproject_infos %>
- <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %>
@@ -34,8 +35,10 @@
<% end %>
+
<% end %>
<% else %>
+
<% if hidden_unproject_infos %>
- <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send('#{file.id}','#{User.current.id}','file')") %>
@@ -43,6 +46,7 @@
- <%= link_to("发 送".html_safe, 'javascript:void(0)',:class => "postOptionLink2",:onclick=>"show_send_hidden('#{file.id}','#{User.current.id}','file')") %>
<% end %>
+
<% end %>
<% end %>
diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css
index d88c31c8..51912e93 100644
--- a/public/stylesheets/educoder/edu-all.css
+++ b/public/stylesheets/educoder/edu-all.css
@@ -1584,7 +1584,7 @@ a.newcolor-grey3:hover{
color:#747A7F !important;
}
.homepagePostSetting{
- display:none;
+ /*display:none;*/
}
#describe{
width: 100%;