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
ec37dd23
Commit
ec37dd23
authored
Jul 17, 2017
by
Asad Azam
Committed by
AsadAzam
Jul 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the course run length field Required
parent
88628fed
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
course_discovery/apps/publisher/models.py
+1
-1
course_discovery/templates/publisher/course_run/edit_run_form.html
+1
-1
course_discovery/templates/publisher/course_run_detail/_all.html
+1
-1
course_discovery/templates/publisher/course_run_detail/_drupal.html
+1
-1
No files found.
course_discovery/apps/publisher/models.py
View file @
ec37dd23
...
...
@@ -716,7 +716,7 @@ class CourseRunState(TimeStampedModel, ChangedByMixin):
course_run
.
pacing_type
,
course_run
.
has_valid_staff
,
course_run
.
is_valid_micromasters
,
course_run
.
is_valid_professional_certificate
,
course_run
.
is_valid_xseries
,
course_run
.
language
,
course_run
.
transcript_languages
.
all
(),
course_run
.
lms_course_id
,
course_run
.
min_effort
,
course_run
.
max_effort
,
course_run
.
video_language
course_run
.
max_effort
,
course_run
.
video_language
,
course_run
.
length
])
...
...
course_discovery/templates/publisher/course_run/edit_run_form.html
View file @
ec37dd23
...
...
@@ -258,7 +258,7 @@
</div>
</div>
<div
class=
"field-title"
>
{% trans "LENGTH" %}
<span
class=
"
optional float-right"
>
Optional
</span></div>
<div
class=
"field-title"
>
{% trans "LENGTH" %}
<span
class=
"
required float-right"
>
* Required for review
</span></div>
<div
class=
"row"
>
<div
class=
"col col-6 help-text"
>
{% trans "The length of the course, in weeks, rounded to the nearest whole number." %}
...
...
course_discovery/templates/publisher/course_run_detail/_all.html
View file @
ec37dd23
...
...
@@ -141,7 +141,7 @@
</div>
<div>
{% with object.length as field %}
{% include "publisher/_render_
optional
_field.html" %}
{% include "publisher/_render_
required
_field.html" %}
{% endwith %}
</div>
</div>
...
...
course_discovery/templates/publisher/course_run_detail/_drupal.html
View file @
ec37dd23
...
...
@@ -305,7 +305,7 @@
</div>
<div>
{% with object.length as field %}
{% include "publisher/_render_
optional
_field.html" %}
{% include "publisher/_render_
required
_field.html" %}
{% endwith %}
</div>
</div>
...
...
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