Commit e8628423 by Dennis Jen Committed by Dennis Jen

Remove start and end dates from the table and replace with modified date.

parent 11da3045
......@@ -25,6 +25,14 @@ How To Contribute
Contributions are welcome. Please read `How To Contribute <https://github.com/edx/edx-platform/blob/master/CONTRIBUTING.rst>`_ for details. Even though it was written with ``edx-platform`` in mind, these guidelines should be followed for Open edX code in general.
Development
-----------
Is the build failing because translations are out of date?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run ``make check_translations_up_to_date`` and check in the generated *.mo & *.po files to your PR.
Reporting Security Issues
-------------------------
......
......@@ -19,7 +19,7 @@
{% trans "Status" %}
</th>
<th>
{% trans "Course start date" %}
{% trans "Modified" %}
</th>
</tr>
</thead>
......@@ -46,8 +46,8 @@
{% endif %}
{{ course_run.owner_role_modified }}
</td>
<td data-order="{{ course_run.start|date:"Y-m-d" }}">
{{ course_run.start }}
<td data-order="{{ course_run.modified|date:"Y-m-d" }}">
{{ course_run.modified }}
</td>
</tr>
{% endfor %}
......
......@@ -27,10 +27,7 @@
{% trans "Organization" %}
</th>
<th role="button">
{% trans "Start" %}
</th>
<th role="button">
{% trans "End" %}
{% trans "Modified" %}
</th>
<th role="button">
{% trans "Course Team" %}
......@@ -53,8 +50,7 @@
</td>
<td>{{ course_run.number }}</td>
<td>{{ course_run.course.organization_name }}</td>
<td>{{ course_run.start|date:"Y-m-d" }}</td>
<td>{{ course_run.end|date:"Y-m-d" }}</td>
<td>{{ course_run.modified|date:"Y-m-d" }}</td>
<td>{{ course_run.course_team_status }}</td>
<td>{{ course_run.internal_user_status }}</td>
<td>{{ course_run.owner_role_last_modified }}</td>
......
......@@ -20,12 +20,6 @@
{% trans "Organization" %}
</th>
<th role="button">
{% trans "Start" %}
</th>
<th role="button">
{% trans "End" %}
</th>
<th role="button">
{% trans "Published Date" %}
</th>
</tr>
......@@ -43,12 +37,6 @@
{{ course_run.course.organization_name }}
</td>
<td>
{{ course_run.start|date:"Y-m-d" }}
</td>
<td>
{{ course_run.end|date:"Y-m-d" }}
</td>
<td>
{{ course_run.course_run_state.modified|date:"Y-m-d" }}
</td>
</tr>
......
......@@ -21,7 +21,7 @@
{% trans "Organization" %}
</th>
<th role="button">
{% trans "Start Date" %}
{% trans "Modified" %}
</th>
<th role="button">
{% trans "Course Number" %}
......@@ -41,8 +41,8 @@
<td>
{{ course_run.course.organization_name }}
</td>
<td id="course-start">
{{ course_run.start|date:"Y-m-d" }}
<td id="course-modified">
{{ course_run.modified|date:"Y-m-d" }}
</td>
<td>
{{ course_run.number }}
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: edx-platform\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-18 11:01+0000\n"
"POT-Creation-Date: 2018-05-24 15:22+0000\n"
"PO-Revision-Date: 2018-04-09 20:13+0000\n"
"Last-Translator: Muhammad Ayub khan <ayubkhan@edx.org>\n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
......@@ -81,13 +81,13 @@ msgstr ""
msgid "Please enter a valid URL."
msgstr ""
#: static/js/publisher/views/courserun_list.js:22
#: static/js/publisher/views/courserun_list.js:21
msgid ""
"You have successfully created a Studio URL ({studioLinkTag}) for "
"{courseRunDetail} with a start date of {startDate}"
"{courseRunDetail}"
msgstr ""
#: static/js/publisher/views/courserun_list.js:52
#: static/js/publisher/views/courserun_list.js:50
msgid "There was an error in saving your data."
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: edx-platform\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-18 11:01+0000\n"
"POT-Creation-Date: 2018-05-24 15:22+0000\n"
"PO-Revision-Date: 2018-04-09 20:13+0000\n"
"Last-Translator: Muhammad Ayub khan <ayubkhan@edx.org>\n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
......@@ -3052,7 +3052,6 @@ msgid "MDC Submission Due Date"
msgstr "MDÇ Süßmïssïön Düé Däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σ#"
#: apps/publisher/templates/publisher/course_run_detail/_salesforce.html
#: apps/publisher/templates/publisher/dashboard/_studio_requests.html
msgid "Start Date"
msgstr "Stärt Däté Ⱡ'σяєм ιρѕυм ∂σłσ#"
......@@ -3207,10 +3206,10 @@ msgid "Status"
msgstr "Stätüs Ⱡ'σяєм ιρѕυ#"
#: apps/publisher/templates/publisher/dashboard/_in_preview.html
#: apps/publisher/templates/publisher/email/studio_instance_created.html
#: apps/publisher/templates/publisher/email/studio_instance_created.txt
msgid "Course start date"
msgstr "Çöürsé stärt däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: apps/publisher/templates/publisher/dashboard/_in_progress.html
#: apps/publisher/templates/publisher/dashboard/_studio_requests.html
msgid "Modified"
msgstr "Mödïfïéd Ⱡ'σяєм ιρѕυм ∂#"
#: apps/publisher/templates/publisher/dashboard/_in_preview.html
msgid "Approved since "
......@@ -3246,16 +3245,6 @@ msgstr "Wïth Çöürsé Téäm Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αм#
msgid "With"
msgstr "Wïth Ⱡ'σяєм ι#"
#: apps/publisher/templates/publisher/dashboard/_in_progress.html
#: apps/publisher/templates/publisher/dashboard/_published.html
msgid "Start"
msgstr "Stärt Ⱡ'σяєм ιρѕ#"
#: apps/publisher/templates/publisher/dashboard/_in_progress.html
#: apps/publisher/templates/publisher/dashboard/_published.html
msgid "End"
msgstr "Énd Ⱡ'σяєм#"
#: apps/publisher/templates/publisher/dashboard/_published.html
msgid "No About pages have been published yet."
msgstr ""
......@@ -3901,6 +3890,11 @@ msgstr ""
#: apps/publisher/templates/publisher/email/studio_instance_created.html
#: apps/publisher/templates/publisher/email/studio_instance_created.txt
msgid "Course start date"
msgstr "Çöürsé stärt däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: apps/publisher/templates/publisher/email/studio_instance_created.html
#: apps/publisher/templates/publisher/email/studio_instance_created.txt
msgid "Course end date"
msgstr "Çöürsé énd däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: edx-platform\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-18 11:01+0000\n"
"POT-Creation-Date: 2018-05-24 15:22+0000\n"
"PO-Revision-Date: 2018-04-09 20:13+0000\n"
"Last-Translator: Muhammad Ayub khan <ayubkhan@edx.org>\n"
"Language-Team: openedx-translation <openedx-translation@googlegroups.com>\n"
......@@ -94,11 +94,10 @@ msgstr "Pléäsé éntér ä välïd ÛRL. Ⱡ'σяєм ιρѕυм ∂σłσя
#: static/js/publisher/views/courserun_list.js
msgid ""
"You have successfully created a Studio URL ({studioLinkTag}) for "
"{courseRunDetail} with a start date of {startDate}"
"{courseRunDetail}"
msgstr ""
"Ýöü hävé süççéssfüllý çréätéd ä Stüdïö ÛRL ({studioLinkTag}) för "
"{courseRunDetail} wïth ä stärt däté öf {startDate} Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт "
"αмєт, ¢σηѕє¢тє#"
"{courseRunDetail} Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α#"
#: static/js/publisher/views/courserun_list.js
msgid "There was an error in saving your data."
......
......@@ -15,15 +15,13 @@ $(document).ready(function() {
var updateCourseKeyURL = $(this).data('update-course-key-url'),
courseKeyValue = courseKeyInput.val().trim(),
courseTitleTag = $courseRunParentTag.find("#course-title").html().trim(),
startDateTag = $courseRunParentTag.find("#course-start").html().trim(),
$studioInstanceSuccess = $(".studio-instance-success"),
$studioInstanceError = $(".studio-instance-error"),
successMessage = interpolateString(
gettext("You have successfully created a Studio URL ({studioLinkTag}) for {courseRunDetail} with a start date of {startDate}"),
gettext("You have successfully created a Studio URL ({studioLinkTag}) for {courseRunDetail}"),
{
"studioLinkTag": "<a href=''>"+ courseKeyValue +"</a>",
"courseRunDetail": courseTitleTag,
"startDate": startDateTag
"courseRunDetail": courseTitleTag
}
);
e.preventDefault();
......
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