diff --git a/app/views/users/_l_course.html.erb b/app/views/users/_l_course.html.erb index 77ef8a36..1a16703f 100644 --- a/app/views/users/_l_course.html.erb +++ b/app/views/users/_l_course.html.erb @@ -98,7 +98,7 @@ <% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %> diff --git a/app/views/users/_l_project.html.erb b/app/views/users/_l_project.html.erb index ab2df884..b6479e86 100644 --- a/app/views/users/_l_project.html.erb +++ b/app/views/users/_l_project.html.erb @@ -98,7 +98,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/app/views/users/_l_shixun.html.erb b/app/views/users/_l_shixun.html.erb index df34c4b1..2b65ab07 100644 --- a/app/views/users/_l_shixun.html.erb +++ b/app/views/users/_l_shixun.html.erb @@ -102,7 +102,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/app/views/users/_p_path.html.erb b/app/views/users/_p_path.html.erb index d5a4e74c..33a1f719 100644 --- a/app/views/users/_p_path.html.erb +++ b/app/views/users/_p_path.html.erb @@ -87,7 +87,7 @@
<% else %> -
+
<% if @user == User.current && ['a_course', 'a_shixun', 'a_project', 'a_path'].include?(@type) %>
diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 644a218c..25353e92 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3221,6 +3221,6 @@ line-height: 20px;display: inline-block;color: rgba(65, 140, 205, 1) !important; .squarebox{ position: absolute; - top: -10%; - left: 20%; + top: 0%; + left: 2%; } \ No newline at end of file