mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
42 lines
No EOL
1.3 KiB
HTML
42 lines
No EOL
1.3 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% load utils_tags %}
|
|
|
|
{% block bodyclass %}NB-body-status{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<table class="NB-status">
|
|
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Title</th>
|
|
<th>Last Update<br>Next Update</th>
|
|
<th>Decay</th>
|
|
<th>Subs</th>
|
|
<th>Active</th>
|
|
<th>Premium</th>
|
|
<th>Act. Prem</th>
|
|
<th>Per Month</th>
|
|
</tr>
|
|
{% for feed in feeds %}
|
|
<tr>
|
|
<td>{{ feed.pk }}</td>
|
|
<td><img class="NB-favicon" src="data:image/png;base64,{{ feed.icon.data }}" /> {{ feed.feed_title|truncatewords:4 }}</td>
|
|
<td class="NB-status-update">
|
|
{{ feed.last_update|date:"M j H:i:s" }}
|
|
<br>
|
|
{{ feed.next_scheduled_update|date:"M j H:i:s" }}
|
|
</td>
|
|
<td>{{ feed.min_to_decay }}</td>
|
|
<td>{{ feed.num_subscribers }}</td>
|
|
<td {% if feed.active_subscribers == 0 %}style="color: lightgrey"{% endif %}>{{ feed.active_subscribers }}</td>
|
|
<td {% if feed.premium_subscribers == 0 %}style="color: lightgrey"{% endif %}>{{ feed.premium_subscribers }}</td>
|
|
<td {% if feed.active_premium_subscribers == 0 %}style="color: lightgrey"{% endif %}>{{ feed.active_premium_subscribers }}</td>
|
|
<td {% if feed.average_stories_per_month == 0 %}style="color: lightgrey"{% endif %}>{{ feed.average_stories_per_month }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock content %} |