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