Commit 485d07a7 by Steve Strassmann

tabbing

parent 7c972ebf
...@@ -843,19 +843,19 @@ function saveSetSectionScheduleDate(e) { ...@@ -843,19 +843,19 @@ function saveSetSectionScheduleDate(e) {
dataType: "json", dataType: "json",
contentType: "application/json", contentType: "application/json",
data: JSON.stringify({ 'id': id, 'metadata': {'start': start}}) data: JSON.stringify({ 'id': id, 'metadata': {'start': start}})
}).success(function () { }).success(function () {
var $thisSection = $('.courseware-section[data-id="' + id + '"]'); var $thisSection = $('.courseware-section[data-id="' + id + '"]');
var format = gettext('<strong>Will Release:</strong> %(date)s at %(time)s UTC'); var format = gettext('<strong>Will Release:</strong> %(date)s at %(time)s UTC');
var willReleaseAt = interpolate(format, var willReleaseAt = interpolate(format,
{'date': input_date, {'date': input_date,
'time': input_time}, 'time': input_time},
true); true);
$thisSection.find('.section-published-date').html( $thisSection.find('.section-published-date').html(
'<span class="published-status">' + willReleaseAt + '</span>' + '<span class="published-status">' + willReleaseAt + '</span>' +
'<a href="#" class="edit-button" ' + '<a href="#" class="edit-button" ' +
'" data-date="' + input_date + '" data-date="' + input_date +
'" data-time="' + input_time + '" data-time="' + input_time +
'" data-id="' + id + '">' + '" data-id="' + id + '">' +
gettext('Edit') + '</a>'); gettext('Edit') + '</a>');
$thisSection.find('.section-published-date').animate({ $thisSection.find('.section-published-date').animate({
'background-color': 'rgb(182,37,104)' 'background-color': 'rgb(182,37,104)'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment