From 5827443a2fd70bc64055b84fb1c64e92afd4ba21 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 7 Jan 2013 10:12:06 +0100 Subject: The /feed page now displays the address of the feed. --- source/templates/feed.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'source/templates/feed.html') diff --git a/source/templates/feed.html b/source/templates/feed.html index cc3f6fb7..ebe4b2fa 100644 --- a/source/templates/feed.html +++ b/source/templates/feed.html @@ -5,7 +5,11 @@ import utils %>

The feed ${feed['feed_title']} contains ${format(nb_articles_feed, ',d')} articles. - Representing ${round((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${format(nb_articles_total, ',d')}).

+ Representing ${round((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${format(nb_articles_total, ',d')} articles). +
+ Address of the feed: ${feed['feed_link']}. +
+ Address of the site: ${feed['site_link']}.

%if articles:

${(nb_unread_articles_feed == 0 and ["All articles are read"] or [str(nb_unread_articles_feed) + " unread article" + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.

@@ -17,9 +21,8 @@ import utils %endif %if articles != []: -

The last article was posted ${elapsed.days} day(s) ago.

-

Daily average: ${average}, between the ${first_post_date.strftime('%Y-%m-%d')} and the ${end_post_date.strftime('%Y-%m-%d')}.

- +

The last article was posted ${elapsed.days} day(s) ago.
+ Daily average: ${average}, between the ${first_post_date.strftime('%Y-%m-%d')} and the ${end_post_date.strftime('%Y-%m-%d')}.


Recent articles

@@ -121,4 +124,4 @@ import utils
${tag_cloud}
- %endif \ No newline at end of file + %endif -- cgit