36 lines
673 B
HTML
36 lines
673 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block header %}
|
|
<head>Matches</head>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if list_of_matches %}
|
|
table>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Users</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
{% 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:email@placeholder.com">send email</a>
|
|
</TD>
|
|
</TR>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
{% else %}
|
|
<p>You have no matches at the moment</p>
|
|
{% endif %}
|
|
{% endblock %} |