Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
ad6c69d2
Commit
ad6c69d2
authored
Nov 01, 2017
by
Simon Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the add instructor UI on publisher
parent
67e3b525
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
14 deletions
+45
-14
course_discovery/apps/publisher/templates/publisher/course_run/edit_run_form.html
+8
-5
course_discovery/conf/locale/en/LC_MESSAGES/django.mo
+0
-0
course_discovery/conf/locale/en/LC_MESSAGES/django.po
+16
-3
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.mo
+0
-0
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.po
+1
-1
course_discovery/conf/locale/eo/LC_MESSAGES/django.mo
+0
-0
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
+19
-4
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.mo
+0
-0
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.po
+1
-1
No files found.
course_discovery/apps/publisher/templates/publisher/course_run/edit_run_form.html
View file @
ad6c69d2
...
@@ -206,23 +206,26 @@
...
@@ -206,23 +206,26 @@
<div
class=
"field-title"
>
{% trans "COURSE STAFF" %}
<span
class=
"required float-right"
>
* Required for review
</span></div>
<div
class=
"field-title"
>
{% trans "COURSE STAFF" %}
<span
class=
"required float-right"
>
* Required for review
</span></div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col col-6 help-text"
>
<div
class=
"col col-6 help-text"
>
{% trans "The primary instructor or instructors for the course." %}
<div>
{% trans "The primary instructor or instructors for the course." %}
</div>
<strong>
{% trans "Make sure that you search for an instructor before you create a new instructor." %}
</strong>
</div>
</div>
<div
id=
"user_organizations_ids"
class=
"hidden"
>
{{ organizations_ids|safe }}
</div>
<div
id=
"user_organizations_ids"
class=
"hidden"
>
{{ organizations_ids|safe }}
</div>
<div
id=
"course_user_role"
class=
"hidden"
>
{{ course_user_role }}
</div>
<div
id=
"course_user_role"
class=
"hidden"
>
{{ course_user_role }}
</div>
<div
class=
"col col-6 instructor-select"
>
<div
class=
"col col-6 instructor-select"
>
<label
class=
"field-label "
>
{{ run_form.staff.label_tag }}
<span
class=
"required"
>
*
</span></label>
<label
class=
"field-label "
>
{% trans "Search for Instructor:" %}
</label>
<select
name=
"staff"
data-autocomplete-light-function=
"select2"
<select
name=
"staff"
data-autocomplete-light-function=
"select2"
multiple=
"multiple"
data-minimum-input-length=
"2"
multiple=
"multiple"
data-minimum-input-length=
"2"
data-autocomplete-light-url=
"/admin/course_metadata/person-autocomplete/"
data-autocomplete-light-url=
"/admin/course_metadata/person-autocomplete/"
id=
"id_staff"
data-html=
"true"
class=
"field-input"
>
id=
"id_staff"
data-html=
"true"
class=
"field-input"
>
</select>
</select>
<div
class=
"selected-instructor"
>
<div
class=
"selected-instructor"
>
{% if publisher_add_instructor_feature %}
{% if publisher_add_instructor_feature %}
<button
type=
"button"
<button
type=
"button"
id=
"add-new-instructor"
>
{% trans "
Add New" %}
<br>
{% trans "I
nstructor" %}
id=
"add-new-instructor"
>
{% trans "
Create new" %}
<br>
{% trans "i
nstructor" %}
</button>
</button>
{% endif %}
{% endif %}
{% for staff in run_form.instance.staff.all %}
{% for staff in run_form.instance.staff.all %}
...
...
course_discovery/conf/locale/en/LC_MESSAGES/django.mo
View file @
ad6c69d2
No preview for this file type
course_discovery/conf/locale/en/LC_MESSAGES/django.po
View file @
ad6c69d2
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ 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-11-0
1 07:46
+0000\n"
"POT-Creation-Date: 2017-11-0
2 12:00
+0000\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"
...
@@ -708,7 +708,6 @@ msgid "Course End Date"
...
@@ -708,7 +708,6 @@ msgid "Course End Date"
msgstr ""
msgstr ""
#: apps/publisher/forms.py
#: apps/publisher/forms.py
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Instructor"
msgid "Instructor"
msgstr ""
msgstr ""
...
@@ -2078,7 +2077,21 @@ msgid "The primary instructor or instructors for the course."
...
@@ -2078,7 +2077,21 @@ msgid "The primary instructor or instructors for the course."
msgstr ""
msgstr ""
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Add New"
msgid ""
"Make sure that you search for an instructor before you create a new "
"instructor."
msgstr ""
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Search for Instructor:"
msgstr ""
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Create new"
msgstr ""
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "instructor"
msgstr ""
msgstr ""
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
...
...
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.mo
View file @
ad6c69d2
No preview for this file type
course_discovery/conf/locale/en/LC_MESSAGES/djangojs.po
View file @
ad6c69d2
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ 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-11-0
1 07:46
+0000\n"
"POT-Creation-Date: 2017-11-0
2 12:00
+0000\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"
...
...
course_discovery/conf/locale/eo/LC_MESSAGES/django.mo
View file @
ad6c69d2
No preview for this file type
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
View file @
ad6c69d2
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ 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-11-0
1 07:46
+0000\n"
"POT-Creation-Date: 2017-11-0
2 12:00
+0000\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"
...
@@ -843,7 +843,6 @@ msgid "Course End Date"
...
@@ -843,7 +843,6 @@ msgid "Course End Date"
msgstr "Çöürsé Énd Däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
msgstr "Çöürsé Énd Däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
#: apps/publisher/forms.py
#: apps/publisher/forms.py
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Instructor"
msgid "Instructor"
msgstr "Ìnstrüçtör Ⱡ'σяєм ιρѕυм ∂σłσ#"
msgstr "Ìnstrüçtör Ⱡ'σяєм ιρѕυм ∂σłσ#"
...
@@ -2487,8 +2486,24 @@ msgstr ""
...
@@ -2487,8 +2486,24 @@ msgstr ""
" αмєт, ¢σηѕє¢тєтυя α#"
" αмєт, ¢σηѕє¢тєтυя α#"
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Add New"
msgid ""
msgstr "Àdd Néw Ⱡ'σяєм ιρѕυм #"
"Make sure that you search for an instructor before you create a new "
"instructor."
msgstr ""
"Mäké süré thät ýöü séärçh för än ïnstrüçtör ßéföré ýöü çréäté ä néw "
"ïnstrüçtör. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєт#"
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Search for Instructor:"
msgstr "Séärçh för Ìnstrüçtör: Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢#"
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "Create new"
msgstr "Çréäté néw Ⱡ'σяєм ιρѕυм ∂σłσ#"
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "instructor"
msgstr "ïnstrüçtör Ⱡ'σяєм ιρѕυм ∂σłσ#"
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
#: apps/publisher/templates/publisher/course_run/edit_run_form.html
msgid "ESTIMATED EFFORT"
msgid "ESTIMATED EFFORT"
...
...
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.mo
View file @
ad6c69d2
No preview for this file type
course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.po
View file @
ad6c69d2
...
@@ -7,7 +7,7 @@ msgid ""
...
@@ -7,7 +7,7 @@ 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-11-0
1 07:46
+0000\n"
"POT-Creation-Date: 2017-11-0
2 12:00
+0000\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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment