upgrade
This commit is contained in:
26
plugin/studentfollowup/view/my_students.html.twig
Normal file
26
plugin/studentfollowup/view/my_students.html.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
<h2>{{ 'Students' | get_lang}}</h2>
|
||||
{{ form }}
|
||||
{% if users %}
|
||||
<table class="table table-hover table-striped data_table">
|
||||
<tr>
|
||||
<th>{{'Student' | get_lang }}</th>
|
||||
<th>{{'Action' | get_lang }}</th>
|
||||
</tr>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>{{ user.user.completeNameWithUsername }}</td>
|
||||
<td>
|
||||
<a href="{{ my_students_url }}student={{ user.user.id }}">
|
||||
<img src="{{ '2rightarrow.png'|icon() }}">
|
||||
</a>
|
||||
<a href="{{ post_url }}student_id={{ user.user.id }}">
|
||||
<img src="{{ 'blog.png'|icon() }}">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
<div>
|
||||
{{ pagination }}
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user