add no result when views and referers are empty

This commit is contained in:
Simon Vieille 2022-02-20 23:04:44 +01:00
parent d19754d88e
commit 67694ffe8c

View file

@ -56,6 +56,17 @@
<td>{{ path }}</td>
<td class="text-right">{{ views }}</td>
</tr>
{% else %}
<tr>
<td class="col-12 text-center p-4 text-black-50" colspan="2">
<div class="display-1">
<span class="fa fa-search"></span>
</div>
<div class="display-5 mt-3">
{{ 'No result'|trans }}
</div>
</td>
</tr>
{% endfor %}
</tbody>
</table>
@ -96,6 +107,17 @@
</details>
</td>
</tr>
{% else %}
<tr>
<td class="col-12 text-center p-4 text-black-50" colspan="2">
<div class="display-1">
<span class="fa fa-search"></span>
</div>
<div class="display-5 mt-3">
{{ 'No result'|trans }}
</div>
</td>
</tr>
{% endfor %}
</tbody>
</table>