From 9d6a7ffed1d2b20f14d33a3e5e041058ab490d29 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Fri, 5 Oct 2012 12:55:15 -0400 Subject: [PATCH] Link release dates message to correct subsection edit page --- cms/djangoapps/contentstore/views.py | 1 - cms/templates/unit.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cms/djangoapps/contentstore/views.py b/cms/djangoapps/contentstore/views.py index ce66b55d5f..b4889b0621 100644 --- a/cms/djangoapps/contentstore/views.py +++ b/cms/djangoapps/contentstore/views.py @@ -231,7 +231,6 @@ def edit_unit(request, location): 'section': containing_section, 'create_new_unit_template': Location('i4x', 'edx', 'templates', 'vertical', 'Empty'), 'unit_state': unit_state, - 'release_date': None, 'published_date': published_date, }) diff --git a/cms/templates/unit.html b/cms/templates/unit.html index 4b0242e886..bef3695a8d 100644 --- a/cms/templates/unit.html +++ b/cms/templates/unit.html @@ -83,7 +83,7 @@ This unit has been published. Click here to edit it. This unit has already been published. Click here to release your changes to it
-

This unit is scheduled to be released to students on ${release_date} with the subsection ""

+

This unit is scheduled to be released to students on ${subsection.start} with the subsection "${subsection.display_name}"

Save Draft