show user's points on dashboard

This commit is contained in:
2022-10-18 14:04:15 +02:00
parent ecb794b8fa
commit c12bcd68c2
3 changed files with 35 additions and 2 deletions
+14
View File
@@ -5,6 +5,20 @@
<title>Redeems Dashboard</title>
</head>
<body>
{% if (username and user_points ) %}
<table>
<thead>
<tr>
<th>Your points balance:</th>
</tr>
</thead>
<tbody>
<td> {{ username }} </td>
<td> {{ user_points }} </td>
</tbody>
</table>
{% endif %}
{% if counters %}
<table>
<thead>