From: jordan Date: Tue, 19 Apr 2011 16:53:21 +0000 (+0000) Subject: creating the skeleton of the updater index template X-Git-Tag: live~321 X-Git-Url: https://git.openstreetmap.org/osqa.git/commitdiff_plain/1007d94078943149eb7e8dc07c5adf4383dce60b creating the skeleton of the updater index template git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@992 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/updater/templates/index.html b/forum_modules/updater/templates/index.html new file mode 100644 index 0000000..1ddb980 --- /dev/null +++ b/forum_modules/updater/templates/index.html @@ -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 %} diff --git a/forum_modules/updater/views.py b/forum_modules/updater/views.py index 33b13b2..60c8f92 100644 --- a/forum_modules/updater/views.py +++ b/forum_modules/updater/views.py @@ -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', + { + + }, + )