From 1dacbc14443084049483822b8c06d4a536e3de2a Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Wed, 19 Feb 2020 14:31:42 +0000 Subject: [PATCH] FIX: Correct static use in templates --- RIGS/templates/RIGS/event_embed.html | 11 +++-------- assets/templates/asset_embed.html | 5 +---- templates/base.html | 1 - templates/base_client.html | 2 +- templates/base_client_email.html | 12 +++--------- 5 files changed, 8 insertions(+), 23 deletions(-) diff --git a/RIGS/templates/RIGS/event_embed.html b/RIGS/templates/RIGS/event_embed.html index a6e3e586..be5af812 100644 --- a/RIGS/templates/RIGS/event_embed.html +++ b/RIGS/templates/RIGS/event_embed.html @@ -1,12 +1,11 @@ {% extends 'base_embed.html' %} -{% load static from staticfiles %} +{% load static %} {% block content %} -
@@ -20,7 +19,7 @@ {% endif %} - +

{% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %}{{ object.pk }}{% endif %} @@ -72,7 +71,6 @@

- {% if object.meet_at %}

Crew meet: @@ -97,10 +95,7 @@ {{ object.description|linebreaksbr }}

{% endif %} -
- - {% endblock %} diff --git a/assets/templates/asset_embed.html b/assets/templates/asset_embed.html index c4a40187..2d98a541 100644 --- a/assets/templates/asset_embed.html +++ b/assets/templates/asset_embed.html @@ -1,8 +1,7 @@ {% extends 'base_embed.html' %} -{% load static from staticfiles %} +{% load static %} {% block content %} -
- - {% endblock %} diff --git a/templates/base.html b/templates/base.html index c5aae95e..39cf5e58 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,6 @@ {% load static %} {% load raven %} - - - @@ -47,12 +44,9 @@ +
@@ -32,7 +29,7 @@ +
- - -