Show feeds that has no corresponding webhook

This commit is contained in:
2023-01-25 11:50:39 +01:00
parent 4824fa9452
commit fc9483d7ee
2 changed files with 34 additions and 6 deletions

View File

@ -73,5 +73,16 @@ Thanks!
</ul>
</div>
{% endif %}
<!-- Show feeds that has no corresponding webhook -->
{% if feeds_without_corresponding_webhook %}
<div class="p-2 mb-2 border border-dark">
<ul class="list-group text-danger">
Feeds without corresponding webhook:
{% for feed in feeds_without_corresponding_webhook %}
<a class="text-muted" href="/feed?feed_url={{ feed.url|encode_url }}">{{ feed.url }}</a>
{% endfor %}
</ul>
</div>
{% endif %}
</ul>
{% endblock content %}