{% extends "base.html" %} {% from "macros.html" import modal_editor, modal_editor_open, format_session %} {% block title %}PySkat - Matches{% endblock %} {% block head %}{% endblock %} {% macro player_display(player) %}
| ID | Session | Player ID | Player Name | Remarks | Actions |
|---|---|---|---|---|---|
| {{ m.id }} | {{ m.session_id or "" }} | {% if m.size > 0 %} {{ player_display(m.players[0]) }} {% else %}{% endif %} | {{ m.remarks }} |
{{ modal_editor_open("edit-match-{}".format(m.id), "Edit", "warning") }}
{{ modal_editor_open("delete-match-{}".format(m.id), "Delete", "danger") }}
|
|