general: add a timestamp to static URLs, to avoid caching issues (#80227)
gitea/chrono/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2023-08-03 09:23:09 +02:00
parent b0f8af1dea
commit 5f14f2a47b
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
{% extends "gadjo/base.html" %}
{% load static i18n %}
{% load gadjo static i18n %}
{% block extrascripts %}
{{ block.super }}
<script src="{% static 'js/chrono.manager.js' %}"></script>
<script src="{% static 'js/chrono.manager.js' %}?{% start_timestamp %}"></script>
{% endblock %}
{% block page-title %}{% block page-title-extra-label %}{% trans 'Agendas' %}{% endblock %} | {% trans 'Agendas' as default_site_title %}{% firstof global_title default_site_title %}{% endblock %}

View File

@ -1,9 +1,9 @@
{% extends "chrono/manager_home.html" %}
{% load static i18n %}
{% load gadjo static i18n %}
{% block extrascripts %}
{{ block.super }}
<script src="{% static 'js/chrono_events.manager.js' %}"></script>
<script src="{% static 'js/chrono_events.manager.js' %}?{% start_timestamp %}"></script>
{% endblock %}
{% block page-title-extra-label %}