on change éditer en modifier
This commit is contained in:
parent
1f78b636fd
commit
a82eb7e01c
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user