my_students.html.twig 703 B

1234567891011121314151617181920212223242526
  1. <h2>{{ 'Students' | get_lang}}</h2>
  2. {{ form }}
  3. {% if users %}
  4. <table class="data_table">
  5. <tr>
  6. <th>Student</th>
  7. <th>Action</th>
  8. </tr>
  9. {% for user in users %}
  10. <tr>
  11. <td>{{ user.user.completeNameWithUsername }}</td>
  12. <td>
  13. <a href="{{ my_students_url }}student={{ user.user.id }}">
  14. <img src="{{ '2rightarrow.png'|icon() }}">
  15. </a>
  16. <a href="{{ post_url }}student_id={{ user.user.id }}">
  17. <img src="{{ 'blog.png'|icon() }}">
  18. </a>
  19. </td>
  20. </tr>
  21. {% endfor %}
  22. </table>
  23. <div>
  24. {{ pagination }}
  25. </div>
  26. {% endif %}