Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
3c432301
Commit
3c432301
authored
Oct 13, 2017
by
Dennis Jen
Committed by
GitHub
Oct 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16221 from edx/dsjen/fix-config-text
Fixed typos in comment and config message.
parents
2605bf99
badcd439
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cms/djangoapps/contentstore/config/forms.py
+1
-1
cms/djangoapps/contentstore/config/models.py
+1
-1
No files found.
cms/djangoapps/contentstore/config/forms.py
View file @
3c432301
...
@@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
...
@@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
class
CourseNewAssetsPageAdminForm
(
forms
.
ModelForm
):
class
CourseNewAssetsPageAdminForm
(
forms
.
ModelForm
):
"""Input form for new asset page enablment, allowing us to verify user input."""
"""Input form for new asset page enabl
e
ment, allowing us to verify user input."""
class
Meta
(
object
):
class
Meta
(
object
):
model
=
CourseNewAssetsPageFlag
model
=
CourseNewAssetsPageFlag
...
...
cms/djangoapps/contentstore/config/models.py
View file @
3c432301
...
@@ -74,4 +74,4 @@ class CourseNewAssetsPageFlag(ConfigurationModel):
...
@@ -74,4 +74,4 @@ class CourseNewAssetsPageFlag(ConfigurationModel):
if
self
.
enabled
:
if
self
.
enabled
:
not_en
=
""
not_en
=
""
# pylint: disable=no-member
# pylint: disable=no-member
return
u"Course '{}':
Persistent Grades
{}Enabled"
.
format
(
self
.
course_id
.
to_deprecated_string
(),
not_en
)
return
u"Course '{}':
New assets page
{}Enabled"
.
format
(
self
.
course_id
.
to_deprecated_string
(),
not_en
)
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