2022-08-12 19:51:55 +02:00
|
|
|
{% extends 'partials/base.html' %}
|
2022-06-14 13:24:40 +02:00
|
|
|
|
2022-08-12 19:51:55 +02:00
|
|
|
{% block name %}matches{% endblock %}
|
2022-06-14 13:24:40 +02:00
|
|
|
|
2022-08-12 19:51:55 +02:00
|
|
|
{% block content %}
|
|
|
|
<main>
|
|
|
|
{% if list_of_matches %}
|
|
|
|
<table>
|
|
|
|
{% for match in list_of_matches %}
|
|
|
|
<TR>
|
|
|
|
<TD>
|
|
|
|
{{ match[0]['title'] }}
|
|
|
|
</TD>
|
|
|
|
<TD>
|
|
|
|
{% for card in match %}
|
|
|
|
{{ names_by_ids[card['owner_id']] }}
|
|
|
|
{% endfor %}
|
|
|
|
</TD>
|
|
|
|
<TD>
|
|
|
|
<a href="mailto:{% for card in match %}{{ emails_by_ids[card['owner_id']] }};{% endfor %}">send email</a>
|
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2022-06-14 02:17:58 +02:00
|
|
|
{% else %}
|
2022-08-12 19:51:55 +02:00
|
|
|
<p>You have no matches at the moment.</p>
|
2022-06-14 02:17:58 +02:00
|
|
|
{% endif %}
|
2022-08-12 19:51:55 +02:00
|
|
|
</main>
|
|
|
|
{% endblock %}
|