aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/duplicates.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:24:18 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:24:18 +0100
commited06b9a5cca186146548472c8f88f8dd2b63eee1 (patch)
tree18411300b06f4914e99ea1ffb2d6242e9984a285 /pyaggr3g470r/templates/duplicates.html
parentSpeed improvements: combinations generates less pair than product... (diff)
downloadnewspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.tar.gz
newspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.tar.bz2
newspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.zip
Added duplicates.html template.
Diffstat (limited to 'pyaggr3g470r/templates/duplicates.html')
-rw-r--r--pyaggr3g470r/templates/duplicates.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/duplicates.html b/pyaggr3g470r/templates/duplicates.html
new file mode 100644
index 00000000..548f845d
--- /dev/null
+++ b/pyaggr3g470r/templates/duplicates.html
@@ -0,0 +1,14 @@
+{% extends "layout.html" %}
+{% block content %}
+<div class="container">
+ {% 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