In outline block the image for certificate doesn't appear

Created on 26 January 2013, almost 12 years ago
Updated 26 August 2024, 4 months ago

The image misc/watchdog-ok.png is not displayed. Solution:

Add in includes/course.outline.inc, after line 438 the line

$step['image'] = 'misc/watchdog-ok.png';

So between the existing coding:
if ($courseObject->access('take')) {
// User can take this course object.
$step['link'] = $courseObject->getUrl();

if (!$prev_req || $prev_req->getFulfillment()->isComplete()) {
$step['status'] = 'Begin';
//PATCH: addition for showing image when certificate is complete:
$step['image'] = 'misc/watchdog-ok.png';
}

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024