From 8c27b2adc8060680aff32b40b98f9792256f6c87 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 26 Nov 2012 08:13:33 +0100 Subject: Refactoring codes in templates. --- source/templates/article.html | 3 --- source/templates/articles.html | 4 ---- source/templates/base.html | 17 +++++++++++------ source/templates/error.html | 3 --- source/templates/favorites.html | 3 --- source/templates/management.html | 3 --- source/templates/notifications.html | 3 --- source/templates/statistics.html | 3 --- 8 files changed, 11 insertions(+), 28 deletions(-) (limited to 'source') diff --git a/source/templates/article.html b/source/templates/article.html index 110442f6..bd459c4e 100644 --- a/source/templates/article.html +++ b/source/templates/article.html @@ -1,8 +1,5 @@ ## article.html <%inherit file="base.html"/> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)

${article["article_title"]} from ${feed["feed_title"]}

diff --git a/source/templates/articles.html b/source/templates/articles.html index 1c425c7e..cbba2508 100644 --- a/source/templates/articles.html +++ b/source/templates/articles.html @@ -3,10 +3,6 @@ <% import utils %> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code) -
Mark all articles from this feed as read
diff --git a/source/templates/base.html b/source/templates/base.html index 899bbce3..6380bf37 100644 --- a/source/templates/base.html +++ b/source/templates/base.html @@ -8,13 +8,18 @@ + +

pyAggr3g470r - News aggregator

+ pyAggr3g470r (source code) -${self.body()} + ${self.body()} -
-

This software is under GPLv3 license. You are welcome to copy, modify or -redistribute the source code according to the -GPLv3 license.

-
+
+

This software is under GPLv3 license. You are welcome to copy, modify or + redistribute the source code according to the + GPLv3 license.

+
\ No newline at end of file diff --git a/source/templates/error.html b/source/templates/error.html index 5bce304b..dbdf66db 100644 --- a/source/templates/error.html +++ b/source/templates/error.html @@ -1,7 +1,4 @@ ## error.html <%inherit file="base.html"/> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)
${message} \ No newline at end of file diff --git a/source/templates/favorites.html b/source/templates/favorites.html index 28aee46a..beb76ff8 100644 --- a/source/templates/favorites.html +++ b/source/templates/favorites.html @@ -3,9 +3,6 @@ <% import utils %> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)

Your favorites articles

%for feed in feeds: diff --git a/source/templates/management.html b/source/templates/management.html index fbb27c37..8d8a1bbd 100644 --- a/source/templates/management.html +++ b/source/templates/management.html @@ -1,8 +1,5 @@ ## management.html <%inherit file="base.html"/> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)

Add Feeds

diff --git a/source/templates/notifications.html b/source/templates/notifications.html index fa675d6b..35aa72a6 100644 --- a/source/templates/notifications.html +++ b/source/templates/notifications.html @@ -1,8 +1,5 @@ ## article.html <%inherit file="base.html"/> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)
%if feeds != []:

You are receiving e-mails for the following feeds:

diff --git a/source/templates/statistics.html b/source/templates/statistics.html index 42577efd..e78aa054 100644 --- a/source/templates/statistics.html +++ b/source/templates/statistics.html @@ -1,8 +1,5 @@ ## statistics.html <%inherit file="base.html"/> -

pyAggr3g470r - News aggregator

-pyAggr3g470r (source code)
%if articles:

Statistics

-- cgit