diff --git a/account/templates/hammertime.html b/account/templates/hammertime.html new file mode 100644 index 0000000..190b5e0 --- /dev/null +++ b/account/templates/hammertime.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block body %} +
+
+
+

Stop, Hammer-time!

+
+
+
+
+ + +
+
+
+{% endblock body %} \ No newline at end of file diff --git a/account/views.py b/account/views.py index f664d22..3ee6848 100644 --- a/account/views.py +++ b/account/views.py @@ -260,3 +260,6 @@ def admin(request): #username = cleaned_data.get('username') #admin_username = self._request.user.username #admin_password = self._request.session['ldap_password'] + +def hammertime(request): + return render(request, 'hammertime.html', {}) \ No newline at end of file diff --git a/cbmi/conf/locale/de/LC_MESSAGES/django.po b/cbmi/conf/locale/de/LC_MESSAGES/django.po new file mode 100644 index 0000000..8d14079 --- /dev/null +++ b/cbmi/conf/locale/de/LC_MESSAGES/django.po @@ -0,0 +1,39 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-10-25 20:39+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: templates/base.html:53 +msgid "member interface" +msgstr "" + +#: templates/base.html:89 +msgid "" +"On this website any member can view and\n" +" edit their data stored in the LDAP directory of\n" +" c-base." +msgstr "" + +#: templates/base.html:94 +msgid "" +"If you are a new member and don't have a\n" +" password yet, please contact one of the following people:" +msgstr "" + +#: templates/base.html:112 +msgid "Sign in" +msgstr "" diff --git a/cbmi/urls.py b/cbmi/urls.py index e52b3b9..418b1ed 100644 --- a/cbmi/urls.py +++ b/cbmi/urls.py @@ -4,6 +4,7 @@ from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', + url(r'^stop/hammertime/$', 'account.views.hammertime', name="hammertime"), url(r'^admin/doc/', include('django.contrib.admindocs.urls')), url(r'^admin/', include(admin.site.urls)), diff --git a/static/img/mchammer.gif b/static/img/mchammer.gif new file mode 100644 index 0000000..5588eb8 Binary files /dev/null and b/static/img/mchammer.gif differ