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") %> + + <% end %> <% else %> + + <% 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%;