Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
4a26d47a
Commit
4a26d47a
authored
4 years ago
by
Nicholas D'Alfonso
Browse files
Options
Downloads
Patches
Plain Diff
Check if subsection is graded on course outline page
parent
617cc26a
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+1
-1
1 addition, 1 deletion
.../templates/course_experience/course-outline-fragment.html
with
1 addition
and
1 deletion
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+
1
−
1
View file @
4a26d47a
...
...
@@ -63,7 +63,7 @@ reset_deadlines_banner_displayed = False
due_date =
subsection.get('due')
overdue =
due_date
is
not
None
and
due_date
<
timezone.now
()
and
not
subsection.get
('
complete
',
True
)
%
>
% if overdue and not reset_deadlines_banner_displayed:
% if
graded and
overdue and not reset_deadlines_banner_displayed:
<
%
reset_deadlines_banner_displayed =
True
%
>
<script
type=
"text/javascript"
>
$
(
'
.reset-deadlines-banner
'
).
css
(
'
display
'
,
'
flex
'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment