contentmatcher/templates/matches.html

32 lines
559 B
HTML

{% extends 'base.html' %}
{% block header %}
<head>Matches</head>
{% endblock %}
{% block content %}
{% if list_of_matches %}
<table>
{% for match in list_of_matches %}
<tr>
<th>Title</th>
<th>Users</th>
</tr>
<TR>
<TD>
{{ match[0]['title'] }}
</TD>
<TD>
{% for card in match %}
{{ names_by_ids[card['owner_id']] }}
{% endfor %}
</TD>
</TR>
{% endfor %}
</table>
{% else %}
<p>You have no matches at the moment</p>
{% endif %}
{% endblock %}