Skip to content

Commit

Permalink
Gradebook: add certificat pdf export blocking for session as it is fo…
Browse files Browse the repository at this point in the history
…r courses -refs BT#21503
  • Loading branch information
NicoDucou committed May 15, 2024
1 parent d307c15 commit 689516d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/template/default/gradebook/my_certificates.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@
<td>{{ row.course }}</td>
<td class="text-right">{{ row.score }}</td>
<td class="text-center">{{ row.date }}</td>
{% if allow_export %}
<td class="text-right">
<a href="{{ row.pdf }}" target="_blank" class="btn btn-primary btn-block">
<i class="fa fa-file-pdf-o" aria-hidden="true"></i>
{{ 'DownloadCertificatePdf'|get_lang }}
</a>
</td>
{% endif %}
<td class="text-right">
<a href="{{ row.link }}" target="_blank" class="btn btn-default btn-block">
<em class="fa fa-external-link"></em> {{ 'Certificate'|get_lang }}
Expand Down

0 comments on commit 689516d

Please sign in to comment.