diff --git a/app/views/users/_course_homework.html.erb b/app/views/users/_course_homework.html.erb index afd2f142b..8798002c9 100644 --- a/app/views/users/_course_homework.html.erb +++ b/app/views/users/_course_homework.html.erb @@ -1,3 +1,4 @@ +<% is_teacher = User.current.allowed_to?(:as_teacher,activity.course) %>
@@ -45,18 +46,29 @@
<%= activity.description.html_safe %>
- + <% end%>
-
\ No newline at end of file diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css index 17539fb6b..4fd8d99d2 100644 --- a/public/stylesheets/courses.css +++ b/public/stylesheets/courses.css @@ -98,7 +98,7 @@ a.homepagePostTypeForum {background:url(../images/homepage_icon.png) -10px -310p a.homepagePostTypeQuiz {background:url(../images/homepage_icon.png) -90px -124px no-repeat; padding-left:23px;} a.homepagePostTypeQuestion {background:url(../images/homepage_icon.png) -10px -273px no-repeat; padding-left:23px;} a.homepagePostTypeMine {background:url(../images/homepage_icon.png) -187px -277px no-repeat; padding-left:23px;} -a.homepagePostTypeAll {background:url(../images/homepage_icon.png) -185px -308px no-repeat; padding-left:23px;} +a.homepagePostTypeAll {background:url(../images/homepage_icon.png) -189px -308px no-repeat; padding-left:23px;} a.postTypeGrey {color:#888888;} a.postTypeGrey:hover {color:#269ac9;} .homepagePostBrief {width:710px; margin:0px auto; position:relative;}