From 3efdfbaf53b5540cf81e6900aed07abf4fed64b7 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 9 Oct 2012 08:24:10 +0200 Subject: Improved the display of the 'feed' page. --- source/pyAggr3g470r.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 6934c48d..ae623214 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -624,8 +624,8 @@ class Root: """%s%s%s%s""" % \ (feed["feed_id"], article["article_id"], not_read_begin, \ article_title, not_read_end, description) + like + "
\n" + html += """All articles   \n""" % (feed["feed_id"],) html += "
\n" - html += """All articles   """ % (feed["feed_id"],) if self.mongo.nb_favorites(feed_id) != 0: @@ -669,12 +669,11 @@ class Root: dic = {} top_words = utils.top_words(articles = self.mongo.get_articles_from_collection(feed_id), n=50, size=int(word_size)) - html += "

Tag cloud

\n
\n" + html += "
\n

Tag cloud

\n" # Tags cloud - html += 'Minimum size of a word:' - html += """
""" % (feed["feed_id"],) - html += """""" % (word_size,) - html += '
\n' + html += """
\n""" % (feed["feed_id"],) + html += "Minimum size of a word:\n" + html += """
\n""" % (word_size,) html += '
' + \ utils.tag_cloud(top_words) + '
' -- cgit