{% extends "layouts/base.html" %} {% block title %}{{ document.title }} - Admin{% endblock %} {% block page_title %}{{ document.title }}{% endblock %} {% block breadcrumb %}{% endblock %} {% block content %} {% set kind_labels = { 'player': _('Player contract'), 'coach': _('Coach contract'), 'manager': _('Manager contract'), 'team': _('Team agreement'), 'code_of_conduct': _('Code of conduct'), 'ethics_code': _('Ethics code'), } %}
{{ _('Type') }}: {{ kind_labels.get(document.kind, document.kind) }} {% if document.requires_signature %} · {{ _('signed by the member') }} {% else %} · {{ _('acknowledged by the member') }}{% endif %}
| {{ _('Member') }} | {{ _('Role') }} | {{ _('Status') }} | {{ _('Completed at') }} |
|---|---|---|---|
| {{ user.username }} | {{ user.role | capitalize }} | {% if assignment.status == 'signed' %} {{ _('Signed') }} {% elif assignment.status == 'acknowledged' %} {{ _('Acknowledged') }} {% else %} {{ _('Pending') }} {% endif %} | {{ assignment.completed_at.strftime('%Y-%m-%d %H:%M') if assignment.completed_at else '—' }} |
| {{ _('No one is assigned yet. Publish a version first.') }} | |||