templates: load static library using {% load static %} (#53227)

This commit is contained in:
Paul Marillonnet 2021-04-18 10:38:22 +02:00
parent 0c342c8cf0
commit 0afeb130ca
22 changed files with 22 additions and 22 deletions

View File

@ -1,5 +1,5 @@
{% extends "gadjo/base.html" %}
{% load i18n staticfiles %}
{% load i18n static %}
{% block gadjo-js %}{% endblock %}
{% block bodyargs %} class="{% block bodyclasses %}{% endblock %}"{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n staticfiles %}
{% load i18n static %}
{% block title %}{{ block.super }} - {% trans "Organizational units" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/ou_common.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Organizational units" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n staticfiles %}
{% load i18n static %}
{% block title %}{{ block.super }} - {% trans "Roles" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/role_common.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block breadcrumb %}
{{ block.super }}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/role_common.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block breadcrumb %}
{{ block.super }}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/role_common.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Roles" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/services.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block breadcrumb %}
{{ block.super }}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Services" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Users" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/form.html" %}
{% load i18n staticfiles %}
{% load i18n static %}
{% block appbar %}
{{ block.super }}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n gadjo staticfiles %}
{% load i18n gadjo static %}
{% block page-title %}{{ block.super }} - {% trans "User export" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n gadjo staticfiles %}
{% load i18n gadjo static %}
{% block page-title %}{{ block.super }} - {% trans "Import Users" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n gadjo staticfiles %}
{% load i18n gadjo static %}
{% block page-title %}{{ block.super }} - {% trans "Import Users" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n gadjo staticfiles %}
{% load i18n gadjo static %}
{% block page-title %}{{ block.super }} - {% trans "Import Users" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/manager/base.html" %}
{% load i18n staticfiles django_tables2 %}
{% load i18n static django_tables2 %}
{% block page-title %}{{ block.super }} - {% trans "Users" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/base-page.html" %}
{% load i18n gadjo staticfiles %}
{% load i18n gadjo static %}
{% block gadjo-jquery %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% load i18n staticfiles gadjo %}
{% load i18n static gadjo %}
{% block login %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2/base-page.html"%}
{% load staticfiles %}
{% load static %}
{% block extra-css %}
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}"></link>

View File

@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
{% load i18n %}
<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_fc/css/fc.css' %}">

View File

@ -1,4 +1,4 @@
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block login %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2_auth_fc/base.html"%}
{% load staticfiles %}
{% load static %}
{% load i18n gadjo %}
{% block content %}