Add comments to index page and fix spelling
This commit is contained in:
@ -6,12 +6,17 @@
|
||||
{% if feeds %}
|
||||
<p>
|
||||
{{ feed_count.total }} feeds
|
||||
<!-- How many broken feeds -->
|
||||
<!-- Make broken feed text red if true. -->
|
||||
{% if feed_count.broken %}
|
||||
<span class="text-danger">
|
||||
{% else %}
|
||||
<span>
|
||||
{% endif %}
|
||||
- {{ feed_count.broken }} broken</span>
|
||||
|
||||
<!-- How many enabled feeds -->
|
||||
<!-- Make amount of enabled feeds yellow if some are disabled. -->
|
||||
{% if feed_count.total != feed_count.updates_enabled %}
|
||||
<span class="text-warning">
|
||||
{% else %}
|
||||
@ -19,13 +24,17 @@
|
||||
{% endif %}
|
||||
- {{ feed_count.updates_enabled }} enabled
|
||||
</span>
|
||||
|
||||
<!-- How many entries -->
|
||||
- {{ entry_count.total }} entries
|
||||
<abbr title="Entries per day average for the past 1, 3 and 12 months">
|
||||
<abbr title="Average entries per day for the past 1, 3 and 12 months">
|
||||
({{ entry_count.averages[0]|round(1) }},
|
||||
{{ entry_count.averages[1]|round(1) }},
|
||||
{{ entry_count.averages[2]|round(1) }})
|
||||
</abbr>
|
||||
</p>
|
||||
|
||||
<!-- Loop through the webhooks and add the feeds connected to them. -->
|
||||
{% for hook_from_context in webhooks %}
|
||||
<div class="p-2 mb-2 border border-dark">
|
||||
<ul class="list-group">{{ hook_from_context.name }}
|
||||
|
Reference in New Issue
Block a user