changeset 65:57ece5687f92

Add 'about this page' site
author David Soria Parra <dsp@php.net>
date Wed, 18 Feb 2009 05:58:08 +0100
parents ab6b463b6038
children f45f8c7fb0f3
files hgscm/apps/www/urls.py hgscm/apps/www/views.py hgscm/templates/base.html hgscm/templates/thepage.html
diffstat 4 files changed, 41 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgscm/apps/www/urls.py	Wed Feb 18 04:26:49 2009 +0100
+++ b/hgscm/apps/www/urls.py	Wed Feb 18 05:58:08 2009 +0100
@@ -3,4 +3,5 @@
 urlpatterns = patterns('hgscm.apps.www.views',
     url(r'^$', 'frontpage', name='frontpage'),
     url(r'^about$', 'about', name='about'),
+    url(r'^thepage$', 'thepage', name='thepage'),
 )
--- a/hgscm/apps/www/views.py	Wed Feb 18 04:26:49 2009 +0100
+++ b/hgscm/apps/www/views.py	Wed Feb 18 05:58:08 2009 +0100
@@ -7,3 +7,6 @@
 def about(request):
     return render_to_response("about.html", { },
         RequestContext(request))
+def thepage(request):
+    return render_to_response("thepage.html", { },
+        RequestContext(request))
--- a/hgscm/templates/base.html	Wed Feb 18 04:26:49 2009 +0100
+++ b/hgscm/templates/base.html	Wed Feb 18 05:58:08 2009 +0100
@@ -42,7 +42,8 @@
 		<div id="footer">
 			design by <a href="http://www.designpunct.ro">punct</a> /
 			design courtesy of <a href="http://www.bitbucket.org/">bitbucket</a> /
-			licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a>
+			licensed under <a href="http://www.gnu.org/licenses/gpl-2.0.txt">GPLv2</a> /
+			<a href="{% url thepage %}">about this page</a>
 		</div>
 		
 	</body>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hgscm/templates/thepage.html	Wed Feb 18 05:58:08 2009 +0100
@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<div class="row">
+	<div class="col big">
+		<h2>About this page</h2>
+		<p>This page is a project of the Mercurial community. Its design and initial django
+		code was provided by Jesper Noehr. Hosting is provided by <a href="http://bitbucket.org">bitbucket.org</a>.
+		Content was provided by Arne Babenhauserheide.  Additional coding and content by David Soria Parra.</p>
+
+		<p>This page is currently maintained by David Soria Parra and Arne Babenhauserheide. The repository
+		can be found at <a href="http://bitbucket.org/segv/hg-website">http://bitbucket.org/segv/hg-website</a>.
+		You are welcome to fork and improve the page.</p>
+
+		<h2>Help us</h2>
+		<p><strong>This page always needs improvement. Please send any kind of patches, suggestions and comments to either
+		the <a href="mailto:mercurial-devel@selenic.com">Mercurial mailinglist</a> or directly to us.</p></strong>
+
+		<p>People often ask what exactly can be done to improve the page. First of all, see if we have an ongoing
+		todo list. Second, read the page and fix our poor grammar. Third, write guides, write about extensions
+		and improve the FAQ. If you like to help with additional graphics or something completly different
+		(we have whishlists), you are welcome</p>
+
+		<h2>License</h2>
+		This page is licensed under the terms of the
+		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a> of the license.
+		The <a href="http://www.selenic.com/hg-logo/">Mercurial logo</a> used on the page was designed by Cali Mastny.
+		It is licensed under the terms of the
+		<a href="http://www.gnu.org/licenses/gpl-2.0.txt">GNU General Public License version 2</a>
+	</div>
+
+</div>
+
+{% endblock %}