contentmatcher/templates/matches.html

32 lines
559 B
HTML
Raw Normal View History

2022-06-14 02:17:58 +02:00
{% extends 'base.html' %}
{% block header %}
<head>Matches</head>
{% endblock %}
{% block content %}
{% if list_of_matches %}
2022-06-14 13:24:40 +02:00
<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>
2022-06-14 02:17:58 +02:00
{% endfor %}
2022-06-14 13:24:40 +02:00
</table>
2022-06-14 02:17:58 +02:00
{% else %}
<p>You have no matches at the moment</p>
{% endif %}
{% endblock %}