From 74bc23294665dda64d900d5dd114b405c28e2cc0 Mon Sep 17 00:00:00 2001 From: Rocky Duan Date: Thu, 23 Aug 2012 00:07:57 -0700 Subject: [PATCH] fixed discussion title and edit --- lms/templates/discussion/index.html | 2 +- lms/templates/discussion/single_thread.html | 2 +- lms/templates/discussion/user_profile.html | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lms/templates/discussion/index.html b/lms/templates/discussion/index.html index d8a2607944..af564cabe3 100644 --- a/lms/templates/discussion/index.html +++ b/lms/templates/discussion/index.html @@ -1,7 +1,7 @@ <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%block name="bodyclass">discussion -<%block name="title">Discussion – MITx 6.002x +<%block name="title">Discussion – ${course.number} <%block name="headextra"> <%static:css group='course'/> diff --git a/lms/templates/discussion/single_thread.html b/lms/templates/discussion/single_thread.html index 3a03c9174a..111f35cac9 100644 --- a/lms/templates/discussion/single_thread.html +++ b/lms/templates/discussion/single_thread.html @@ -1,7 +1,7 @@ <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%block name="bodyclass">discussion -<%block name="title">Discussion – MITx 6.002x +<%block name="title">Discussion – ${course.number} <%block name="headextra"> <%static:css group='course'/> diff --git a/lms/templates/discussion/user_profile.html b/lms/templates/discussion/user_profile.html index e5234abca3..1bc6addffc 100644 --- a/lms/templates/discussion/user_profile.html +++ b/lms/templates/discussion/user_profile.html @@ -3,7 +3,7 @@ <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%block name="bodyclass">discussion -<%block name="title">Discussion – MITx 6.002x +<%block name="title">Discussion – ${course.number} <%block name="headextra"> <%static:css group='course'/> @@ -12,6 +12,7 @@ <%block name="js_extra"> <%include file="_js_body_dependencies.html" /> +<%static:js group='discussion'/> <%include file="../courseware/course_navigation.html" args="active_page='discussion'" />