1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 20:22: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" %} {% extends "base.html" %}
{% load getconfig i18n django_tables2 %} {% load getconfig i18n django_tables2 static %}
{% block content %} {% block content %}
<div class="card bg-light shadow"> <div class="card bg-light shadow">
@ -59,7 +59,7 @@
<div class="card-body"> <div class="card-body">
<div class="alert alert-warning"> <div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %} {% 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> </div>
{% if user.organizes %} {% if user.organizes %}
<ul> <ul>

View File

@ -1,11 +1,11 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n crispy_forms_filters django_tables2 %} {% load i18n crispy_forms_filters django_tables2 static %}
{% block content %} {% block content %}
<div class="alert alert-warning"> <div class="alert alert-warning">
{% trans "Templates for syntheses are available here:" %} {% 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> </div>
{% if form %} {% if form %}