Show if entry is whitelisted or blacklisted

This commit is contained in:
2022-12-23 23:00:02 +01:00
parent d7e7db911c
commit 6c36ea646c
2 changed files with 43 additions and 0 deletions

View File

@ -30,6 +30,13 @@
</div>
{% for entry in entries %}
<div class="p-2 mb-2 border border-dark">
{% if entry|entry_is_blacklisted %}
<span class="text-danger">Blacklisted</span>
{% endif %}
{% if entry|entry_is_whitelisted %}
<span class="text-success">Whitelisted</span>
{% endif %}
<h2>
<a class="text-muted text-decoration-none" href="{{ entry.link }}">
{{ entry.title }}