1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-25 10:26:17 +02:00

MDL-72990 badges: Use imagecaption as alternative text for badge image

This commit is contained in:
Shamim Rezaie 2021-11-04 14:45:19 +11:00
parent b16fc54103
commit c6cd47a82d

@ -113,7 +113,7 @@
<div id="badge" class="container-fluid">
<div class="row">
<div id="badge-image-col" class="col col-auto">
<img src="{{badgeimage}}" alt="{{badgename}}" width="300" class="mx-auto d-block"/>
<img src="{{badgeimage}}" alt="{{imagecaption}}" width="300" class="mx-auto d-block"/>
{{#expireddateformatted}}
<span class="expireimage">
{{# pix }} i/expired, core, {{# str }} expireddate, badges, {{expireddateformatted}} {{/ str }}{{/ pix }}