Show if entry is whitelisted or blacklisted
This commit is contained in:
parent
d7e7db911c
commit
6c36ea646c
2 changed files with 43 additions and 0 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue