]> git.openstreetmap.org Git - osqa.git/commitdiff
creating the skeleton of the updater index template
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Apr 2011 16:53:21 +0000 (16:53 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 19 Apr 2011 16:53:21 +0000 (16:53 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@992 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/updater/templates/index.html [new file with mode: 0644]
forum_modules/updater/views.py

diff --git a/forum_modules/updater/templates/index.html b/forum_modules/updater/templates/index.html
new file mode 100644 (file)
index 0000000..1ddb980
--- /dev/null
@@ -0,0 +1,14 @@
+{% extends basetemplate %}
+
+{% load i18n %}
+
+{% block subtitle %}
+    {% trans "Update Checker" %}
+{% endblock %}
+{% block description %}
+    {% trans "Use the OSQA update server to check for updates" %}
+{% endblock %}
+
+{% block admincontent %}
+
+{% endblock %}
index 33b13b23c06898441ad8d4779a4877ab93ef083c..60c8f926aaaaef2b678e31a9dac745dba129ce37 100644 (file)
@@ -1,6 +1,13 @@
 from django.http import HttpResponse
 from base import generate_installation_key
 from settings import SITE_KEY
+from forum.views.admin import admin_tools_page, admin_page
 
+@admin_page
 def updater_index(request):
-    return HttpResponse(str(SITE_KEY))
+    return (
+        'modules/updater/index.html',
+        {
+
+        },
+    )