read.tpl 745 B

1234567891011121314151617181920212223
  1. {% extends app.template_style ~ "/layout/layout_1_col.tpl" %}
  2. {% block content %}
  3. <a href="{{ url(links.list_link) }}">
  4. {{ 'List' |trans }}
  5. </a>
  6. <a href="{{ url(links.update_link, {id : item.id}) }}">
  7. {{ 'Edit' |trans }}
  8. </a>
  9. <a href="{{ url(links.add_members_link, {id : item.id}) }}">
  10. {{ 'Add members' |trans }}
  11. </a>
  12. <h3>Comité #{{ item.id }} {{ item.name }}</h3>
  13. <ul>
  14. {% for member in item.members %}
  15. <li>
  16. {{ member.user.getCompleteName }} - {{ member.role.name }}
  17. <a class="btn" href="{{ url('jury.controller:removeMemberAction', {id : member.id}) }} ">Delete</a>
  18. </li>
  19. {% endfor %}
  20. </ul>
  21. {% endblock %}