From c142ea4b299517139ce5205c58e3cd2838af4ce7 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Wed, 11 Nov 2009 16:18:01 +0000 Subject: [PATCH] Added context_processor to handle contexts for every template; refer to favion2; some visual polish svn: r13559 --- src/data/templates/gramps-base.html | 4 +-- src/data/templates/main_page.html | 16 +++++++--- src/web/djangodb.py | 2 ++ src/web/grampsdb/views.py | 48 +++++++++++++++++++++-------- src/web/settings.py | 19 +++++------- 5 files changed, 59 insertions(+), 30 deletions(-) diff --git a/src/data/templates/gramps-base.html b/src/data/templates/gramps-base.html index 8e8745e60..f98fd8292 100644 --- a/src/data/templates/gramps-base.html +++ b/src/data/templates/gramps-base.html @@ -11,11 +11,11 @@ {% endblock %} - + {% block css %} - + {% endblock %} diff --git a/src/data/templates/main_page.html b/src/data/templates/main_page.html index 2727aaabb..7c763e340 100644 --- a/src/data/templates/main_page.html +++ b/src/data/templates/main_page.html @@ -16,13 +16,19 @@

-Database information: -