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
0c40dfc1
Commit
0c40dfc1
authored
Nov 29, 2016
by
Gregory Martin
Committed by
GitHub
Nov 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14048 from edx/yro_fix-sectionformat-bug
add section format to fix display in accordion
parents
f47ab549
fcf3f0b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
lms/static/sass/course/courseware/_sidebar.scss
+1
-1
lms/templates/courseware/accordion.html
+8
-5
No files found.
lms/static/sass/course/courseware/_sidebar.scss
View file @
0c40dfc1
...
...
@@ -149,7 +149,7 @@
&
.graded
{
.menu-icon
{
@include
right
(
$baseline
/
2
);
@include
right
(
$baseline
/
2
.5
);
position
:
absolute
;
bottom
:
(
$baseline
/
2
);
color
:
$link-color
;
...
...
lms/templates/courseware/accordion.html
View file @
0c40dfc1
...
...
@@ -40,9 +40,12 @@ else:
## a status icon
<
%
if
section
.
get
('
due
')
is
None:
data_string =
''
data_string =
section['format']
else:
data_string =
_('due
{
date
}')
if
'
proctoring
'
in
section:
data_string =
_('due
{
date
}')
else:
data_string =
_("{section_format}
due
{{
date
}}").
format
(
section_format=
section['format'])
%
>
% if section['format'] or due_date or 'proctoring' in section:
<p
class=
"subtitle"
>
...
...
@@ -85,7 +88,7 @@ else:
AccordionEvents();
</
%
static:require
_module_async
>
<
%
static:require_module_async
module_name=
"js/dateutil_factory"
class_name=
"DateUtilFactory"
>
DateUtilFactory.transform(iterationKey=".localized-datetime");
</
%
static:require
_module_async
>
<
%
static:require_module_async
module_name=
"js/dateutil_factory"
class_name=
"DateUtilFactory"
>
DateUtilFactory.transform(iterationKey=".localized-datetime");
</
%
static:require
_module_async
>
% 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