Skip to content

Commit 3f85d28

Browse files
committed
add new live course
1 parent de7a1a2 commit 3f85d28

3 files changed

Lines changed: 31 additions & 25 deletions

File tree

ims-education.html

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -461,26 +461,28 @@
461461
<p>For more information about the live class format, see the upcoming events on the <a href="https://community.ibm.com/community/user/ibmz-and-linuxone/groups/public?CommunityKey=eba3ada3-db89-4dca-9154-328195f5e560" target="_blank" rel="noopener noreferrer">IMS community page.</a></p>
462462

463463
<!-- IMS Fundamentals, April Session -->
464-
<!-- <course-card
464+
<course-card
465465
id="ims-fundamentals-april-2025"
466-
name="IMS Fundamentals"
467-
session="April 2025 session"
468-
desc="Learn about the main components of IBM IMS: IMS Database Manager (IMS DB),
469-
IMS Transaction Manager (IMS TM), and common system services for IMS DB and
470-
IMS TM. Learn how these components work and interact with applications, how
471-
IMS databases differ from each other and differ from relational databases
472-
message types, security, maintenance, troubleshooting, and more."
466+
name="IMS Database Recovery Control (DBRC)"
467+
session="June 2025 session"
468+
desc="This live course runs for 9 sessions, 4 hours each day. It describes the benefits of DBRC and the
469+
activities required to configure, implement, and manage Database Recovery Control (DBRC). DBRC is an
470+
IMS facility that provides database recovery and facilitates database sharing, between IMS systems in
471+
all IMS environments, but this class is most applicable for Database/Transaction Management (DB/TM),
472+
Database Control (DBCTL), and batch IMS systems. This is an intermediate to advanced IMS class that is
473+
intended for IMS DBAs and system programmers."
473474
imgsrc="wp-content/icons/icon_education.svg"
474475
selfpaced="false"
475-
level="Beginner"
476+
level="Intermediate"
476477
cost="None"
477-
badge="Yes"
478-
time="32 hours"
479-
start="Apr 22, 2025 08:00 AM (CT)"
480-
end="Apr 30, 2025 01:00 PM (CT)"
481-
link="https://www.ibm.com/it-infrastructure/us-en/resources/campaignmail/z/ims/eventsignup.html"
478+
time="36 hours"
479+
start="Jun 9"
480+
end="Jun 19"
481+
hours="8:00 AM CDT (13:00 UTC) - 1:00 PM CDT (18:00 UTC)"
482+
registerlink="https://www.ibm.com/it-infrastructure/us-en/resources/campaignmail/z/ims/eventsignup.html"
483+
link="http://public.dhe.ibm.com/software/data/sw-library/ims/usergroups/IMS_Events_List.pdf"
482484
>
483-
</course-card> -->
485+
</course-card>
484486
</section>
485487

486488
<!-- =========================== FAQ =========================== -->

web-components/course-card/course-card.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ <h3 class="live-session"></h3>
1818
<p class="course-time-g"><b>Time: </b><span class="course-time"></span></p>
1919
<p class="course-start-g"><b>Starts: </b><span class="course-start"></span></p>
2020
<p class="course-end-g"><b>Ends: </b><span class="course-end"></span></p>
21+
<p class="course-hours-g"><b>Hours: </b><span class="course-hours"></span></p>
2122
</div>
2223
</div>
2324
</div>
2425
<div class="link-g">
2526
<a class="course-link" target="_blank" rel="noopener noreferrer"></a>
27+
<a class="register-link" target="_blank" rel="noopener noreferrer"></a>
2628
</div>
2729
</div>
2830
</div>

web-components/course-card/course-card.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function createComponent(html) {
6363
* @returns {Array} An array of property names.
6464
*/
6565
static get observedAttributes() {
66-
return ['name', 'session', 'desc', 'imgsrc', 'selfpaced', 'level', 'cost', 'badge', 'time', 'start', 'end', 'link'];
66+
return ['name', 'session', 'desc', 'imgsrc', 'selfpaced', 'level', 'cost', 'badge', 'time', 'start', 'end', 'hours', 'link'];
6767
}
6868

6969
/**
@@ -107,28 +107,30 @@ function createComponent(html) {
107107
setContent('.course-cost', this.cost, shadow);
108108
// Set course badge
109109
setContent('.course-badge', this.badge, shadow);
110+
// Set course time
111+
setContent('.course-time', this.time, shadow);
112+
// Set course link
113+
setLink('.course-link', this.link, this.name, 'Learn more →', shadow);
110114

111115
var linkText;
112116
// Change card content based on self-paced vs live course
113117
if (this.selfpaced == 'true') {
114-
// Set course time
115-
setContent('.course-time', this.time, shadow);
116118
// Hide course duration
117119
hideContent('.course-start-g', shadow);
118120
hideContent('.course-end-g', shadow);
119-
// Update link text
120-
linkText = 'Learn more →'
121+
// Hide course hours
122+
hideContent('.course-hours-g', shadow);
121123
} else {
122124
// Set course duration
123125
setContent('.course-start', this.start, shadow);
124126
setContent('.course-end', this.end, shadow);
125-
// Hide course time
126-
hideContent('.course-time-g', shadow);
127-
// Update link text
127+
// Set course hours
128+
setContent('.course-hours', this.hours, shadow);
129+
// Set register link
128130
linkText = 'Register →'
131+
setLink('.register-link', this.registerlink, this.name, 'Register →', shadow);
132+
129133
}
130-
// Set course link
131-
setLink('.course-link', this.link, this.name, linkText, shadow);
132134
}
133135
}
134136

0 commit comments

Comments
 (0)