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
a6121728
Commit
a6121728
authored
May 29, 2017
by
Asad Azam
Committed by
AsadAzam
May 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added a message on the course detail page if no run exists
parent
df522eaa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
course_discovery/conf/locale/en/LC_MESSAGES/django.po
+4
-0
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
+6
-0
course_discovery/templates/publisher/course_detail/_widgets.html
+6
-0
No files found.
course_discovery/conf/locale/en/LC_MESSAGES/django.po
View file @
a6121728
...
...
@@ -1636,6 +1636,10 @@ msgstr ""
msgid "Not yet created"
msgstr ""
#: templates/publisher/course_detail/_widgets.html
msgid "No course runs exist for this course"
msgstr ""
#: templates/publisher/course_edit_form.html
msgid "Edit Course"
msgstr ""
...
...
course_discovery/conf/locale/eo/LC_MESSAGES/django.po
View file @
a6121728
...
...
@@ -1907,6 +1907,12 @@ msgstr "STÛDÌÖ ÛRL Ⱡ'σяєм ιρѕυм ∂σłσ#"
msgid "Not yet created"
msgstr "Nöt ýét çréätéd Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт α#"
#: templates/publisher/course_detail/_widgets.html
msgid "No course runs exist for this course"
msgstr ""
"Nö çöürsé rüns éxïst för thïs çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, "
"¢σηѕє¢тєтυ#"
#: templates/publisher/course_edit_form.html
msgid "Edit Course"
msgstr "Édït Çöürsé Ⱡ'σяєм ιρѕυм ∂σłσя #"
...
...
course_discovery/templates/publisher/course_detail/_widgets.html
View file @
a6121728
...
...
@@ -12,6 +12,7 @@
</a>
</div>
<div
class=
"course-run-list"
>
{% if course.course_runs %}
{% for course_run in course.course_runs %}
<div
class=
"layout-1t2t layout-reversed course-run-item"
>
<div
class=
"layout-col layout-col-a created-by"
>
...
...
@@ -36,6 +37,11 @@
</div>
</div>
{% endfor %}
{% else %}
<div
class=
"course-run-item"
>
{% trans "No course runs exist for this course" %}
</div>
{% endif %}
</div>
<div
class=
"approval-widget {% if not publisher_approval_widget_feature %}hidden{% endif %}"
>
...
...
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