From be159828b0900298a29139981580a4499bf07474 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 14 Apr 2007 13:44:07 +0200 Subject: [PATCH] Add general about page and improve footer for static pages. The about/index page explains how to get the code and lists all the copyright statements and the license. --- static/about/index.tmpl | 98 ++++++++++++++++++++++++++++++++++++++++ static/index.tmpl | 3 +- templates/html/foot.tmpl | 10 ++-- 3 files changed, 105 insertions(+), 6 deletions(-) create mode 100644 static/about/index.tmpl diff --git a/static/about/index.tmpl b/static/about/index.tmpl new file mode 100644 index 0000000..78eb26a --- /dev/null +++ b/static/about/index.tmpl @@ -0,0 +1,98 @@ +[% PROCESS 'html/head.tmpl' + title_tag = "$organisation Packages - About this site" + page_title = "$organisation Packages - About this site" + keywords = "$organisation, Packages, Authors, Source, Code" +%] + +

Code

+ +

Getting

+ +

The current code base is maintained by Frank Lichtenheld in +git and can be obtained from +http://source.djpig.de/git/ +both over HTTP and the native git protocol. + +

+ git clone http://source.djpig.de/git/packages.git +
+ +

or + +

+ git clone git://source.djpig.de/git/packages.git +
+ +

The older second generation code can be found in the Debian CVS +at cvs.debian.org. + +

Technology

+ +

This site is built and served to you with the help of + +

+ +

Copyright & License

+ +
+Copyright (C) 1998 James Treacy
+Copyright (C) 2000, 2001 Josip Rodin
+Copyright (C) 2001 Adam Heath
+Copyright (C) 2004 Martin Schulze
+Copyright (C) 2006 Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
+Copyright (C) 2004-2007 Frank Lichtenheld <frank@lichtenheld.de>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ +

Authors

+ +

The code for the first generation of +packages.debian.org was + +

+Copyright (C) 1998 James Treacy
+Copyright (C) 2000, 2001 Josip Rodin
+Copyright (C) 2001 Adam Heath
+
+ +

(From this code little to nothing remains today) + +

The second generation was built upon this code and added the ability +to browse and search more than one architecture (i.e. i386) +and was + +

+Copyright (C) 2004 Martin Schulze
+Copyright (C) 2004-2006 Frank Lichtenheld
+
+ +

You are currently using the third generation which is a near complete +rewrite and is + +

+Copyright (C) 2006 Jeroen van Wolffelaar <jeroen@wolffelaar.nl>
+Copyright (C) 2006, 2007 Frank Lichtenheld <frank@lichtenheld.de>
+
+ +[% PROCESS 'html/foot.tmpl' + langs.size = 0 + footer.doNotDisplayCopyright = 1 %] diff --git a/static/index.tmpl b/static/index.tmpl index cbf214f..cb8c970 100644 --- a/static/index.tmpl +++ b/static/index.tmpl @@ -104,4 +104,5 @@ Display: [% PROCESS 'html/foot.tmpl' - langs.size = 0 %] + langs.size = 0 + copyright.years = '1997 - 2007' %] diff --git a/templates/html/foot.tmpl b/templates/html/foot.tmpl index 28bd34f..c7c273e 100644 --- a/templates/html/foot.tmpl +++ b/templates/html/foot.tmpl @@ -25,11 +25,11 @@ Total page evaluation took [% benchmark %]

To report a problem with the web site, e-mail [% contact.mail %]. For other contact information, see the [% organisation %] contact page.

-

Generated: [% timestamp.string %]
-Copyright © [% copyright.years %] [% copyright.name %]; See license terms. -[% IF trademarknotes -%] -
[% trademarknotes %] -[%- END %] +

[% IF timestamp.string %]Generated: [% timestamp.string %]
[% END %] +[% UNLESS footer.doNotDisplayCopyright %] +Content Copyright © [% copyright.years %] [% copyright.name %]; See license terms. [% IF trademarknotes -%][% trademarknotes %][%- END %] +[% END %] +

Learn more about this site.

-- 2.39.2