Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-SunbirdEd-portal-old
Commits
425f3c94
Commit
425f3c94
authored
2 years ago
by
Rajesh Kumaravel
Browse files
Options
Download
Patches
Plain Diff
Issue #SB-31023 fix: Disabling Join Course button on Enrollment end date
parent
8d203d3d
master
dependabot/npm_and_yarn/src/app/client/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/express-4.17.3
dependabot/npm_and_yarn/src/app/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/OpenRAP/express-4.17.3
dependabot/npm_and_yarn/src/desktop/OpenRAP/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/qs-6.5.3
dependabot/npm_and_yarn/src/desktop/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/express-4.17.3
dependabot/npm_and_yarn/src/desktop/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/qs-6.10.3
filters_5.1.1
gcp_test
release-5.0.0
release-5.0.0.1
release-5.0.0.2
release-5.0.0.3
release-5.0.1
release-5.0.2
release-5.1.0
release-5.1.1
sharathkashyap-patch-1
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/client/src/app/modules/learn/components/course-consumption/course-consumption-header/course-consumption-header.component.html
+2
-2
...nsumption-header/course-consumption-header.component.html
with
2 additions
and
2 deletions
+2
-2
src/app/client/src/app/modules/learn/components/course-consumption/course-consumption-header/course-consumption-header.component.html
+
2
−
2
View file @
425f3c94
...
...
@@ -115,8 +115,8 @@
<!-- join course, start learning, continue learning, view dashboard buttons -->
<div
*ngIf=
"!showAddGroup && isTrackable"
>
<div
class=
"certified-course__btn py-8"
*ngIf=
"!enrolledCourse && !viewDashboard"
>
<button
[disabled]=
"!(courseConsumptionService.enableCourseEntrollment | async)"
[ngClass]=
"{'sb-btn-disabled': !(courseConsumptionService.enableCourseEntrollment | async)}"
<button
[disabled]=
"!(courseConsumptionService.enableCourseEntrollment | async)
|| isEnrollmentAllowed(enrollmentEndDate)
"
[ngClass]=
"{'sb-btn-disabled':
(
!(courseConsumptionService.enableCourseEntrollment | async)
|| isEnrollmentAllowed(enrollmentEndDate))
}"
class=
"sb-btn sb-btn-secondary sb-btn-normal ml-auto textbook__addbtn"
tabindex=
"0"
(click)=
"showJoinModal(true); this.logTelemetry(courseHierarchy?.primaryCategory.toLowerCase() === 'course' ? 'join-course' : 'join', courseHierarchy)"
>
{{resourceService?.frmelmnts?.btn?.enroll}}
</button>
</div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets