Files
Chamilo/main/template/default/gradebook/my_certificates.tpl
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

82 lines
3.5 KiB
Smarty

{% if course_list is not empty %}
<h2 class="page-header">{{ "Courses"|get_lang }}</h2>
<div class="table-responsive">
<table class="table table-hover table-striped">
<thead>
<tr>
<th>{{ "Course"|get_lang }}</th>
<th class="text-right">{{ "Score"|get_lang }}</th>
<th class="text-center">{{ "Date"|get_lang }}</th>
<th width="10%" class="text-right">&nbsp;</th>
<th width="10%" class="text-right">&nbsp;</th>
</tr>
</thead>
<tbody>
{% for row in course_list %}
<tr>
<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 }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
{% if session_list is not empty %}
<h2 class="page-header">{{ "Sessions"|get_lang }}</h2>
<div class="table-responsive">
<table class="table table-hover table-striped">
<thead>
<tr>
<th>{{ "Session"|get_lang }}</th>
<th>{{ "Course"|get_lang }}</th>
<th class="text-right">{{ "Score"|get_lang }}</th>
<th class="text-center">{{ "Date"|get_lang }}</th>
<th width="10%" class="text-right">&nbsp;</th>
<th width="10%" class="text-right">&nbsp;</th>
</tr>
</thead>
<tbody>
{% for row in session_list %}
<tr>
<td>{{ row.session }}</td>
<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 }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}