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.
39 lines
1.5 KiB
Smarty
39 lines
1.5 KiB
Smarty
{{ form }}
|
|
|
|
{% if list %}
|
|
<div class ="row">
|
|
<div class ="col-md-12">
|
|
<div class="page-header">
|
|
<h2>{{ 'DocumentListForUserX'| get_plugin_lang('Justification')|format(user_info.complete_name) }}</h2>
|
|
</div>
|
|
<table class="table">
|
|
<tr>
|
|
<th>{{ 'Justification'| get_plugin_lang('Justification') }}</th>
|
|
<th>{{ 'File'| get_lang }}</th>
|
|
<th>{{ 'Date'| get_lang('Date') }}</th>
|
|
<th>{{ 'Actions'| get_lang }}</th>
|
|
</tr>
|
|
{% for item in list %}
|
|
<tr>
|
|
<td >{{ item.justification.name }} </td>
|
|
<td >{{ item.file_path }} </td>
|
|
<td >
|
|
{{ item.date_validity }}
|
|
</td>
|
|
<td>
|
|
<a href="{{_p.web_plugin }}justification/justification_by_user.php?a=edit&user_id={{ user_id }}&id={{ item.id }}"
|
|
class="btn btn-primary">
|
|
{{'Edit' | get_lang}}
|
|
</a>
|
|
<a href="{{_p.web_plugin }}justification/justification_by_user.php?a=delete&user_id={{ user_id }}&id={{ item.id }}"
|
|
class="btn btn-danger">
|
|
{{'Delete' | get_lang}}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|