on change éditer en modifier

This commit is contained in:
Jean-Marie Favreau 2023-12-12 23:11:14 +01:00
parent 1f78b636fd
commit a82eb7e01c
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{% load utils_extra %}
<a href="{% url 'edit_event' event.id %}" role="button">éditer</a>
<a href="{% url 'edit_event' event.id %}" role="button">modifier</a>
{% if event.status != "published" %}
<a href="{% url 'change_status_event' event.id 'published' %}" role="button">publier {% picto_from_name "eye" %}</a>

View File

@ -2,7 +2,7 @@
{% load static %}
{% block title %}Éditer {{ object.title }}{% endblock %}
{% block title %}Modifier {{ object.title }}{% endblock %}
{% block entete_header %}
<script>window.CKEDITOR_BASEPATH = '/static/ckeditor/ckeditor/';</script>

View File

@ -3,7 +3,7 @@
{% get_static_content_by_name name as content %}
{% if content %}
{% if user.is_authenticated %}
<a href="{% url 'edit_static_content' content.pk %}" role="button" class="slide-buttons">Éditer le texte</a>
<a href="{% url 'edit_static_content' content.pk %}" role="button" class="slide-buttons">Modifier le texte</a>
{% endif %}
{{ content.text|safe }}
{% else %}

View File

@ -1,6 +1,6 @@
{% extends "agenda_culturel/page.html" %}
{% block title %}Éditer {{ object.name }}{% endblock %}
{% block title %}Modifier {{ object.name }}{% endblock %}
{% block entete_header %}
{% load static %}