From 9a6fe2bf696c4c364518159735f4f5d12c666681 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 15 Mar 2013 08:20:00 +0100 Subject: Reaorganization of folders for the CSS, templates and pictures. --- source/static/templates/languages.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 source/static/templates/languages.html (limited to 'source/static/templates/languages.html') diff --git a/source/static/templates/languages.html b/source/static/templates/languages.html new file mode 100644 index 00000000..d186677d --- /dev/null +++ b/source/static/templates/languages.html @@ -0,0 +1,25 @@ +## languages.html +<%inherit file="base.html"/> +
+

Summary

+ + %for language in articles_sorted_by_languages.keys(): +
+

${language}

+ %for feed_id in articles_sorted_by_languages[language]: + <% + feed = mongo.get_feed(feed_id) + %> +

${feed["feed_title"]}

+ %for article in articles_sorted_by_languages[language][feed_id][:10]: + ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - ${article["article_title"]} +
+ %endfor +
+ %endfor +
+ %endfor \ No newline at end of file -- cgit