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
2d60c65e
Commit
2d60c65e
authored
Nov 18, 2016
by
Gregory Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review fix
parent
a6a7b7ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
lms/djangoapps/instructor/views/instructor_dashboard.py
+1
-1
lms/templates/instructor/instructor_dashboard_2/course_info.html
+2
-3
No files found.
lms/djangoapps/instructor/views/instructor_dashboard.py
View file @
2d60c65e
...
...
@@ -430,7 +430,7 @@ def _section_course_info(course, access):
'has_started'
:
course
.
has_started
(),
'has_ended'
:
course
.
has_ended
(),
'start_date'
:
course
.
start
,
'end_date'
:
course
.
end
or
None
,
'end_date'
:
course
.
end
,
'num_sections'
:
len
(
course
.
children
),
'list_instructor_tasks_url'
:
reverse
(
'list_instructor_tasks'
,
kwargs
=
{
'course_id'
:
unicode
(
course_key
)}),
}
...
...
lms/templates/instructor/instructor_dashboard_2/course_info.html
View file @
2d60c65e
...
...
@@ -66,7 +66,7 @@ from openedx.core.djangolib.markup import HTML, Text
<li
class=
"field text is-not-editable"
id=
"field-course-start-date"
>
<label
for=
"course-start-date"
>
${_("Course Start Date:")}
</label>
<b
class=
"localized-datetime"
data-datetime=
"${section_data['start_date']}"
data-
string=
""
data-
timezone=
"${user_timezone}"
data-language=
"${user_language}"
></b>
<b
class=
"localized-datetime"
data-datetime=
"${section_data['start_date']}"
data-timezone=
"${user_timezone}"
data-language=
"${user_language}"
></b>
</li>
<li
class=
"field text is-not-editable"
id=
"field-course-end-date"
>
...
...
@@ -74,7 +74,7 @@ from openedx.core.djangolib.markup import HTML, Text
% if course.end is None:
<b>
${_("No end date set")}
</b>
% else:
<b
class=
"localized-datetime"
data-datetime=
"${section_data['end_date']}"
data-
string=
""
data-
timezone=
"${user_timezone}"
data-language=
"${user_language}"
></b>
<b
class=
"localized-datetime"
data-datetime=
"${section_data['end_date']}"
data-timezone=
"${user_timezone}"
data-language=
"${user_language}"
></b>
% endif
</li>
<li
class=
"field text is-not-editable"
id=
"field-course-started"
>
...
...
@@ -151,4 +151,3 @@ from openedx.core.djangolib.markup import HTML, Text
</div>
<br>
%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