summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2015-04-29 08:38:23 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2015-04-29 09:15:52 (GMT)
commitf4282f7f09bb042a9427243c504f80e5d871a806 (patch)
treeac93990361f0264e6dd4ca18471fa22b9b996a69
parent64438aee024316f29861c1515b0eb6eaa9021da7 (diff)
downloadu-auth-f4282f7f09bb042a9427243c504f80e5d871a806.zip
u-auth-f4282f7f09bb042a9427243c504f80e5d871a806.tar.gz
u-auth-f4282f7f09bb042a9427243c504f80e5d871a806.tar.bz2
jquery statics loaded in organization's base template
-rw-r--r--uauth/organization/templates/organization/base.html11
-rw-r--r--uauth/organization/templates/organization/create-users.html12
2 files changed, 11 insertions, 12 deletions
diff --git a/uauth/organization/templates/organization/base.html b/uauth/organization/templates/organization/base.html
index 3131ae6..e492116 100644
--- a/uauth/organization/templates/organization/base.html
+++ b/uauth/organization/templates/organization/base.html
@@ -1,5 +1,14 @@
{% extends "uauth/base.html" %}
-{% load i18n %}
+{% load i18n static %}
+
+{% block css %}
+<link rel="stylesheet" type="text/css" media="all" href="{% static "css/jquery-ui.min.css" %}" />
+{{ block.super }}
+{% endblock %}
+
+{% block extrascripts %}
+<script src="{% static "js/jquery-ui.min.js" %}"></script>
+{% endblock %}
{% block logout-url %}{% url "logout" %}{% endblock %}
diff --git a/uauth/organization/templates/organization/create-users.html b/uauth/organization/templates/organization/create-users.html
index 5bc0fb8..75617db 100644
--- a/uauth/organization/templates/organization/create-users.html
+++ b/uauth/organization/templates/organization/create-users.html
@@ -1,15 +1,5 @@
{% extends "organization/base.html" %}
-{% load i18n static %}
-
-{% block css %}
-{{ block.super }}
-<link rel="stylesheet" type="text/css" media="all" href="{% static "css/jquery-ui.min.css" %}" />
-{% endblock %}
-
-{% block extrascripts %}
-<script src="{% static "js/jquery-ui.min.js" %}"></script>
-{% endblock %}
-
+{% load i18n %}
{% block title %}
{% trans "User creation" %}