Updated load static in templates to current syntax

This commit is contained in:
alligatorbait 2020-10-12 16:30:25 -06:00
parent f9f975932b
commit 937a048a9b
15 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
{% load i18n %}
{% load saved_queries %}
{% load load_helpdesk_settings %}
{% load static from staticfiles %}
{% load static %}
{% with request|load_helpdesk_settings as helpdesk_settings %}
{% with user|saved_queries as user_saved_queries_ %}

View File

@ -1,7 +1,7 @@
{% load i18n %}
{% load saved_queries %}
{% load load_helpdesk_settings %}
{% load static from staticfiles %}
{% load static %}
{% with request|load_helpdesk_settings as helpdesk_settings %}
{% with user|saved_queries as user_saved_queries_ %}
<!DOCTYPE html>

View File

@ -1,4 +1,4 @@
{% load static from staticfiles %}
{% load static %}
<!-- jQuery and Bootstrap Core -->
{% if helpdesk_settings.HELPDESK_USE_CDN %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>

View File

@ -1,5 +1,5 @@
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% load in_list %}
<div class="form-row">
<div class="col col-sm-3">

View File

@ -1,5 +1,5 @@
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% load in_list %}
<div class="form-row">
<div class="col col-sm-3">

View File

@ -1,5 +1,5 @@
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% load in_list %}
<div class="form-row">
<div class="col col-sm-3">

View File

@ -1,5 +1,5 @@
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
<div class="form-row">
<div class="col col-sm-3">
<label for='id_sort' class="col-form-label">{% trans "Sorting" %}:</label>

View File

@ -1,5 +1,5 @@
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% load in_list %}
<div class="form-row">
<div class="col col-sm-3">

View File

@ -1,5 +1,5 @@
{% load i18n %}
{% load static from staticfiles %}
{% load static %}
{% load load_helpdesk_settings %}
{% with request|load_helpdesk_settings as helpdesk_settings %}
<!DOCTYPE html>

View File

@ -1,5 +1,5 @@
{% extends "helpdesk/public_base.html" %}{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% block helpdesk_title %}{% trans "View a Ticket" %}{% endblock %}
{% block helpdesk_body %}

View File

@ -1,5 +1,5 @@
{% extends "helpdesk/base.html" %}{% load i18n %}
{% load static from staticfiles %}
{% load static %}
{% block helpdesk_title %}{% trans "Reports &amp; Statistics" %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "helpdesk/base.html" %}{% load i18n %}
{% load static from staticfiles %}
{% load static %}
{% block helpdesk_title %}{% trans "RSS Feeds" %}{% endblock %}

View File

@ -1,6 +1,6 @@
{% extends "helpdesk/base.html" %}
{% load i18n bootstrap4form humanize %}
{% load static from staticfiles %}
{% load static %}

View File

@ -1,5 +1,5 @@
{% load i18n humanize ticket_to_link %}
{% load static from staticfiles %}
{% load static %}
<div class="card mb-3">
<!--div class="card-header">

View File

@ -1,6 +1,6 @@
{% extends "helpdesk/base.html" %}
{% load i18n humanize %}
{% load static from staticfiles %}
{% load static %}
{% block helpdesk_title %}{% trans "Tickets" %}{% endblock %}