aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/inactives.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/inactives.html')
-rw-r--r--pyaggr3g470r/templates/inactives.html25
1 files changed, 9 insertions, 16 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html
index e6897281..548f845d 100644
--- a/pyaggr3g470r/templates/inactives.html
+++ b/pyaggr3g470r/templates/inactives.html
@@ -1,21 +1,14 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <div class="jumbotron">
- <form method=get action="/inactives">
- <p>{{ _('Days of inactivity') }}:</p>
- <input type="number" name="nb_days" class="form-control" value="{{ nb_days }}" min="0" max="1000000" step="1" size="4" style="text-align: center" />
- </form>
- <br />
- {% if inactives != [] %}
- <ul class="list-group">
- {% for item in inactives %}
- <li class="list-group-item"><a href="/feed/{{ item[0].id }}">{{ item[0].title }}</a> - {{ item[1].days }} {{ _('days') }}</li>
- {% endfor %}
- </ul>
- {% else %}
- <p>{{ _('No inactive feeds.') }}<p>
- {% endif %}
- </div>
+ {% if duplicates != [] %}
+ <ul class="list-group">
+ {% for pair in duplicates %}
+ <li><a href="/article/{{ pair[0].id }}">{{ pair[0].title }}</a> - <a href="/article/{{ pair[1].id }}">{{ pair[1].title }}</a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>{{ _('No duplicates.') }}<p>
+ {% endif %}
</div><!-- /.container -->
{% endblock %}
bgstack15