1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 07:02:22 +00:00

Now we can use good static files :)

This commit is contained in:
Yohann D'ANELLO 2020-05-06 23:51:17 +02:00
parent b93643d0cc
commit 9aeb3b2291
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load getconfig i18n django_tables2 %}
{% load getconfig i18n django_tables2 static %}
{% block content %}
<div class="card bg-light shadow">
@ -59,7 +59,7 @@
<div class="card-body">
<div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %}
<a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">PDF</a> -- <a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">TEX</a>
<a data-turbolinks="false" href="{% static "Fiche synthèse.pdf" %}">PDF</a> -- <a data-turbolinks="false" href="{% static "Fiche synthèse.tex" %}">TEX</a>
</div>
{% if user.organizes %}
<ul>

View File

@ -1,11 +1,11 @@
{% extends "base.html" %}
{% load i18n crispy_forms_filters django_tables2 %}
{% load i18n crispy_forms_filters django_tables2 static %}
{% block content %}
<div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %}
<a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">PDF</a> -- <a data-turbolinks="false" href="/static/Fiche%20synthèse.pdf">TEX</a>
<a data-turbolinks="false" href="{% static "Fiche synthèse.pdf" %}">PDF</a> -- <a data-turbolinks="false" href="{% static "Fiche synthèse.tex" %}">TEX</a>
</div>
{% if form %}