Commit 5e7c3e21 by Waheed Ahmed

Course-run edit page text changes.

ECOM-7414
parent b53055ee
...@@ -2366,7 +2366,7 @@ class CourseRunEditViewTests(TestCase): ...@@ -2366,7 +2366,7 @@ class CourseRunEditViewTests(TestCase):
""" """
toggle_switch('publisher_hide_features_for_pilot', True) toggle_switch('publisher_hide_features_for_pilot', True)
response = self.client.get(self.edit_page_url) response = self.client.get(self.edit_page_url)
self.assertContains(response, '<div id="about-page" class="layout-full publisher-layout layout hidden">') self.assertContains(response, '<div id="about-page" class="course-information hidden">')
def test_page_with_disable_waffle_switch(self): def test_page_with_disable_waffle_switch(self):
""" """
...@@ -2375,7 +2375,7 @@ class CourseRunEditViewTests(TestCase): ...@@ -2375,7 +2375,7 @@ class CourseRunEditViewTests(TestCase):
""" """
toggle_switch('publisher_hide_features_for_pilot', False) toggle_switch('publisher_hide_features_for_pilot', False)
response = self.client.get(self.edit_page_url) response = self.client.get(self.edit_page_url)
self.assertContains(response, '<div id="about-page" class="layout-full publisher-layout layout ">') self.assertContains(response, '<div id="about-page" class="course-information ">')
class CourseRevisionViewTests(TestCase): class CourseRevisionViewTests(TestCase):
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-14 12:15+0500\n" "POT-Creation-Date: 2017-03-14 14:33+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
#: apps/api/filters.py #: apps/api/filters.py
#, python-brace-format #, python-brace-format
...@@ -1241,7 +1241,6 @@ msgid "etc." ...@@ -1241,7 +1241,6 @@ msgid "etc."
msgstr "" msgstr ""
#: templates/publisher/add_courserun_form.html #: templates/publisher/add_courserun_form.html
#: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "About page information" msgid "About page information"
msgstr "" msgstr ""
...@@ -1273,17 +1272,29 @@ msgid "Save Draft" ...@@ -1273,17 +1272,29 @@ msgid "Save Draft"
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
msgid "Course Form" msgid "Edit Course Run"
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html #: templates/publisher/courses.html
msgid "Edit Course" msgid "Create New Course"
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
#: templates/publisher/courses.html #, python-format
msgid "Create New Course" msgid ""
"To add or edit information about this course run, make changes on this page "
"and then select %(strong_start)sUpdate Course Run%(strong_end)s. All "
"required fields must be complete before this course run can be sent for "
"review."
msgstr ""
#: templates/publisher/add_update_course_form.html
#, python-format
msgid ""
"%(strong_start)sNote:%(strong_end)s If you edit course information after edX"
" marketing has reviewed the course, you have to send the course to edX "
"marketing for review again."
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
...@@ -1298,6 +1309,10 @@ msgid "All of the following information is required." ...@@ -1298,6 +1309,10 @@ msgid "All of the following information is required."
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
msgid "About Page Information"
msgstr ""
#: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "Studio Instance" msgid "Studio Instance"
msgstr "" msgstr ""
...@@ -1829,6 +1844,10 @@ msgid "" ...@@ -1829,6 +1844,10 @@ msgid ""
"publishes the course About page." "publishes the course About page."
msgstr "" msgstr ""
#: templates/publisher/add_update_course_form.html
msgid "Update Course Run"
msgstr ""
#: templates/publisher/admin/add_user_form.html #: templates/publisher/admin/add_user_form.html
msgid "" msgid ""
"First, enter a username and select a group. Then, you'll be able to edit " "First, enter a username and select a group. Then, you'll be able to edit "
...@@ -1911,6 +1930,10 @@ msgid "" ...@@ -1911,6 +1930,10 @@ msgid ""
msgstr "" msgstr ""
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "Edit Course"
msgstr ""
#: templates/publisher/course_edit_form.html
msgid "" msgid ""
"The information in the Studio Instance section is required before edX can " "The information in the Studio Instance section is required before edX can "
"create a Studio instance for the course run." "create a Studio instance for the course run."
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-14 12:15+0500\n" "POT-Creation-Date: 2017-03-14 14:33+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
#: static/js/catalogs-change-form.js #: static/js/catalogs-change-form.js
msgid "Preview" msgid "Preview"
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-14 12:15+0500\n" "POT-Creation-Date: 2017-03-14 14:33+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps/api/filters.py #: apps/api/filters.py
...@@ -1445,7 +1445,6 @@ msgid "etc." ...@@ -1445,7 +1445,6 @@ msgid "etc."
msgstr "étç. Ⱡ'σяєм ι#" msgstr "étç. Ⱡ'σяєм ι#"
#: templates/publisher/add_courserun_form.html #: templates/publisher/add_courserun_form.html
#: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "About page information" msgid "About page information"
msgstr "Àßöüt pägé ïnförmätïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢#" msgstr "Àßöüt pägé ïnförmätïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢#"
...@@ -1481,13 +1480,8 @@ msgid "Save Draft" ...@@ -1481,13 +1480,8 @@ msgid "Save Draft"
msgstr "Sävé Dräft Ⱡ'σяєм ιρѕυм ∂σłσ#" msgstr "Sävé Dräft Ⱡ'σяєм ιρѕυм ∂σłσ#"
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
msgid "Course Form" msgid "Edit Course Run"
msgstr "Çöürsé Förm Ⱡ'σяєм ιρѕυм ∂σłσя #" msgstr "Édït Çöürsé Rün Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
#: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html
msgid "Edit Course"
msgstr "Édït Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя #"
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
#: templates/publisher/courses.html #: templates/publisher/courses.html
...@@ -1497,6 +1491,40 @@ msgstr "Çréäté Néw Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α ...@@ -1497,6 +1491,40 @@ msgstr "Çréäté Néw Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
#, python-format #, python-format
msgid "" msgid ""
"To add or edit information about this course run, make changes on this page "
"and then select %(strong_start)sUpdate Course Run%(strong_end)s. All "
"required fields must be complete before this course run can be sent for "
"review."
msgstr ""
"Tö ädd ör édït ïnförmätïön äßöüt thïs çöürsé rün, mäké çhängés ön thïs pägé "
"änd thén séléçt %(strong_start)sÛpdäté Çöürsé Rün%(strong_end)s. Àll "
"réqüïréd fïélds müst ßé çömplété ßéföré thïs çöürsé rün çän ßé sént för "
"révïéw. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ "
"єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм"
" νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα "
"¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє ιяυяє ∂σłσя ιη яєρяєнєη∂єяιт ιη νσłυρтαтє νєłιт"
" єѕѕє ¢ιłłυм ∂σłσяє єυ ƒυgιαт ηυłłα ραяιαтυя. єχ¢єρтєυя ѕιηт σ¢¢αє¢αт#"
#: templates/publisher/add_update_course_form.html
#, python-format
msgid ""
"%(strong_start)sNote:%(strong_end)s If you edit course information after edX"
" marketing has reviewed the course, you have to send the course to edX "
"marketing for review again."
msgstr ""
"%(strong_start)sNöté:%(strong_end)s Ìf ýöü édït çöürsé ïnförmätïön äftér édX"
" märkétïng häs révïéwéd thé çöürsé, ýöü hävé tö sénd thé çöürsé tö édX "
"märkétïng för révïéw ägäïn. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя "
"α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα"
" αłιqυα. υт єηιм α∂ мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ "
"ηιѕι υт αłιqυιρ єχ єα ¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє ιяυяє ∂σłσя ιη "
"яєρяєнєη∂єяιт ιη νσłυρтαтє νєłιт єѕѕє ¢ιłłυм ∂σłσяє єυ ƒυgιαт ηυłłα "
"ραяιαтυя. єχ¢єρтєυя ѕιηт σ¢¢αє¢αт ¢υρι∂αтαт ηση ρяσι∂єηт, ѕυηт ιη ¢υłρα qυι "
"σƒƒι¢ια ∂єѕєяυηт мσłłιт αη#"
#: templates/publisher/add_update_course_form.html
#, python-format
msgid ""
"To create a parent course, enter the following information about the course " "To create a parent course, enter the following information about the course "
"and select %(strong_start)sCreate New Course%(strong_end)s." "and select %(strong_start)sCreate New Course%(strong_end)s."
msgstr "" msgstr ""
...@@ -1511,6 +1539,10 @@ msgstr "" ...@@ -1511,6 +1539,10 @@ msgstr ""
"¢σηѕє¢тєтυя #" "¢σηѕє¢тєтυя #"
#: templates/publisher/add_update_course_form.html #: templates/publisher/add_update_course_form.html
msgid "About Page Information"
msgstr "Àßöüt Pägé Ìnförmätïön Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢#"
#: templates/publisher/add_update_course_form.html
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "Studio Instance" msgid "Studio Instance"
msgstr "Stüdïö Ìnstänçé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#" msgstr "Stüdïö Ìnstänçé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
...@@ -2205,6 +2237,10 @@ msgstr "" ...@@ -2205,6 +2237,10 @@ msgstr ""
"яєρяєнєη∂єяιт ιη νσłυρтαтє νєłιт єѕѕє ¢ιłłυм ∂σłσяє єυ ƒυgιαт ηυłłα " "яєρяєнєη∂єяιт ιη νσłυρтαтє νєłιт єѕѕє ¢ιłłυм ∂σłσяє єυ ƒυgιαт ηυłłα "
"ραяιαтυя. єχ¢єρтєυя ѕιηт σ¢¢αє¢αт ¢υρι∂αтαт ηση ρяσι∂єηт, ѕ#" "ραяιαтυя. єχ¢єρтєυя ѕιηт σ¢¢αє¢αт ¢υρι∂αтαт ηση ρяσι∂єηт, ѕ#"
#: templates/publisher/add_update_course_form.html
msgid "Update Course Run"
msgstr "Ûpdäté Çöürsé Rün Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмє#"
#: templates/publisher/admin/add_user_form.html #: templates/publisher/admin/add_user_form.html
msgid "" msgid ""
"First, enter a username and select a group. Then, you'll be able to edit " "First, enter a username and select a group. Then, you'll be able to edit "
...@@ -2292,6 +2328,10 @@ msgstr "" ...@@ -2292,6 +2328,10 @@ msgstr ""
" Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя#" " Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя#"
#: templates/publisher/course_edit_form.html #: templates/publisher/course_edit_form.html
msgid "Edit Course"
msgstr "Édït Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя #"
#: templates/publisher/course_edit_form.html
msgid "" msgid ""
"The information in the Studio Instance section is required before edX can " "The information in the Studio Instance section is required before edX can "
"create a Studio instance for the course run." "create a Studio instance for the course run."
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-14 12:15+0500\n" "POT-Creation-Date: 2017-03-14 14:33+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: static/js/catalogs-change-form.js #: static/js/catalogs-change-form.js
......
...@@ -3,14 +3,18 @@ ...@@ -3,14 +3,18 @@
{% load staticfiles %} {% load staticfiles %}
{% block title %} {% block title %}
{% trans "Course Form" %} {% if edit_mode %}
{% trans "Edit Course Run" %}
{% else %}
{% trans "Create New Course" %}
{% endif %}
{% endblock title %} {% endblock title %}
{% block page_content %} {% block page_content %}
<div> <div>
<h1 class="hd-1 emphasized"> <h1 class="hd-1 emphasized">
{% if edit_mode %} {% if edit_mode %}
{% trans "Edit Course" %} {% trans "Edit Course Run" %}
{% else %} {% else %}
{% trans "Create New Course" %} {% trans "Create New Course" %}
{% endif %} {% endif %}
...@@ -24,17 +28,36 @@ ...@@ -24,17 +28,36 @@
</div> </div>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<p> {% if edit_mode %}
{% blocktrans with strong_start='<strong>' strong_end='</strong>' trimmed %} <p>
To create a parent course, enter the following information about the course and select {{ strong_start }}Create New Course{{ strong_end }}. {% blocktrans with strong_start='<strong>' strong_end='</strong>' trimmed %}
{% endblocktrans %} To add or edit information about this course run, make changes on this page and then select {{ strong_start }}Update Course Run{{ strong_end }}. All required fields must be complete before this course run can be sent for review.
<strong class="required">{% trans "All of the following information is required." %}</strong> {% endblocktrans %}
</p> </p>
<p>
{% blocktrans with strong_start='<strong>' strong_end='</strong>' trimmed %}
{{ strong_start }}Note:{{ strong_end }} If you edit course information after edX marketing has reviewed the course, you have to send the course to edX marketing for review again.
{% endblocktrans %}
</p>
{% else %}
<p>
{% blocktrans with strong_start='<strong>' strong_end='</strong>' trimmed %}
To create a parent course, enter the following information about the course and select {{ strong_start }}Create New Course{{ strong_end }}.
{% endblocktrans %}
<strong class="required">{% trans "All of the following information is required." %}</strong>
</p>
{% endif %}
<form class="form" method="post" action="" enctype="multipart/form-data"> <form class="form" method="post" action="" enctype="multipart/form-data">
{% csrf_token %} {% csrf_token %}
<div class="layout-full publisher-layout layout"> <div class="layout-full publisher-layout layout">
<h2 class="layout-title">{% trans "Studio Instance" %}</h2> <h2 class="layout-title">
{% if edit_mode %}
{% trans "About Page Information" %}
{% else %}
{% trans "Studio Instance" %}
{% endif %}
</h2>
<div class="card course-form"> <div class="card course-form">
<div class="course-information"> <div class="course-information">
...@@ -213,14 +236,8 @@ ...@@ -213,14 +236,8 @@
{% endif %} {% endif %}
</fieldset> </fieldset>
</div> </div>
</div> {% if edit_mode %}
</div> <div id="about-page" class="course-information {% if publisher_hide_features_for_pilot %}hidden{% endif %}">
{% if edit_mode %}
<div id="about-page" class="layout-full publisher-layout layout {% if publisher_hide_features_for_pilot %}hidden{% endif %}">
<h2 class="layout-title">{% trans "About page information" %}</h2>
<div class="card course-form">
<div class="course-information">
<fieldset class="form-group grid-container grid-manual"> <fieldset class="form-group grid-container grid-manual">
<div class="field-title">{% trans "PROGRAM ASSOCIATION" %}</div> <div class="field-title">{% trans "PROGRAM ASSOCIATION" %}</div>
<div class="row"> <div class="row">
...@@ -571,7 +588,7 @@ ...@@ -571,7 +588,7 @@
<label class="field-label ">{{ run_form.transcript_languages.label_tag }}</label> <label class="field-label ">{{ run_form.transcript_languages.label_tag }}</label>
{{ run_form.transcript_languages}} {{ run_form.transcript_languages}}
<label class="field-label ">{{ run_form.video_language.label_tag }}</label> <label class="field-label margin-top20">{{ run_form.video_language.label_tag }}</label>
{{ run_form.video_language}} {{ run_form.video_language}}
</div> </div>
...@@ -605,20 +622,21 @@ ...@@ -605,20 +622,21 @@
</div> </div>
</fieldset> </fieldset>
</div> </div>
</div> {% endif %}
</div> </div>
{% endif %}
<div class="layout-full layout">
<p>{% trans "After you submit this information, an edX project coordinator creates an instance for the course as well as a course run in Studio. When the Studio instance is ready, you will receive an email notification. You can then enter course content in Studio." %}</p>
<p>{% trans "If you have additional information for your course About page, you can enter it on the next page. You can edit this information at any time before edX publishes the course About page." %}</p>
</div> </div>
{% if not edit_mode %}
<div class="layout-full layout">
<p>{% trans "After you submit this information, an edX project coordinator creates an instance for the course as well as a course run in Studio. When the Studio instance is ready, you will receive an email notification. You can then enter course content in Studio." %}</p>
<p>{% trans "If you have additional information for your course About page, you can enter it on the next page. You can edit this information at any time before edX publishes the course About page." %}</p>
</div>
{% endif %}
<div class="course-form"> <div class="course-form">
<div class="course-information action-buttons"> <div class="course-information action-buttons">
<a href="{% url 'publisher:publisher_courses' %}">{% trans "Cancel" %}</a> <a href="{% url 'publisher:publisher_courses' %}">{% trans "Cancel" %}</a>
<button class="btn-brand btn-base" type="submit"> <button class="btn-brand btn-base btn-save" type="submit">
{% if edit_mode %} {% if edit_mode %}
{% trans "Edit Course" %} {% trans "Update Course Run" %}
{% else %} {% else %}
{% trans "Create New Course" %} {% trans "Create New Course" %}
{% endif %} {% endif %}
......
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