Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
023ae077
Commit
023ae077
authored
4 years ago
by
Michael Terry
Browse files
Options
Downloads
Patches
Plain Diff
Fix possible reference to is_past_due property
parent
b64c8c22
No related branches found
Branches containing commit
Tags
release-2021-03-25-11.22
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openedx/features/personalized_learner_schedules/call_to_action.py
+3
-1
3 additions, 1 deletion
...features/personalized_learner_schedules/call_to_action.py
with
3 additions
and
1 deletion
openedx/features/personalized_learner_schedules/call_to_action.py
+
3
−
1
View file @
023ae077
...
...
@@ -58,7 +58,9 @@ class PersonalizedLearnerScheduleCallToAction:
else
:
can_attempt
=
True
return
xblock
.
self_paced
and
can_attempt
and
xblock
.
is_past_due
()
is_past_due
=
xblock
.
is_past_due
()
if
callable
(
xblock
.
is_past_due
)
else
xblock
.
is_past_due
return
xblock
.
self_paced
and
can_attempt
and
is_past_due
@staticmethod
def
_make_reset_deadlines_cta
(
xblock
):
...
...
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