1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {{ search_form }}
- {% if user_list is not empty %}
- <div class="table-responsive">
- <table class="table table-hover table-striped">
- <thead>
- <tr>
- <th>{{ "FirstName"|get_lang }}</th>
- <th>{{ "LastName"|get_lang }}</th>
- <th class="text-center">{{ "Username"|get_lang }}</th>
- <th class="text-right"> </th>
- </tr>
- </thead>
- <tbody>
- {% for user in user_list %}
- <tr>
- <td>{{ user.firstname }}</td>
- <td>{{ user.lastname }}</td>
- <td class="text-center">{{ user.username }}</td>
- <td class="text-right">
- <a href="{{ _p.web_main }}gradebook/search.php?id={{ user.id }}" class="btn btn-default">
- <i class="fa fa-external-link"></i> {{ "Certificates"|get_lang }}
- </a>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% endif %}
- {% if course_list is not empty or session_list is not empty %}
- <h2>{{ user_info.complete_name }}</h2>
- {% if course_list is not empty %}
- <h3 class="page-header">{{ "Courses"|get_lang }}</h3>
- <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">{{ "Fecha"|get_lang }}</th>
- <th class="text-right"> </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>
- <td class="text-right">
- <a href="{{ row.link }}" target="_blank" class="btn btn-default">
- <i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
- </a>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% endif %}
- {% if session_list is not empty %}
- <h3 class="page-header">{{ "Sessions"|get_lang }}</h3>
- <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">{{ "Fecha"|get_lang }}</th>
- <th class="text-right"> </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>
- <td class="text-right">
- <a href="{{ row.link }}" target="_blank" class="btn btn-default">
- <i class="fa fa-external-link"></i> {{ 'Certificate'|get_lang }}
- </a>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% endif %}
- {% endif %}
|