added button to dupplicate a post

This commit is contained in:
2022-05-19 16:45:24 +02:00
parent 9c61a8e98b
commit f018b418c0
14 changed files with 59 additions and 19 deletions

View File

@@ -3,7 +3,7 @@
{% block content %}
<div class="row text-center">
{% if request.authenticated_userid %}
{% if request.authenticated_userid == 'admin' %}
<div class="col-sm-3">
<a href=" {{request.route_url('users')}} "><span class="glyphicon glyphicon-user icone-big"></span>
<h4>UTILISATEURS</h4>
@@ -18,9 +18,8 @@
</div>
<div class="row">
<h2>Pages internes</h2>
{% if request.authenticated_userid %}
{% if request.authenticated_userid == 'admin' %}
<p>
<a href="{{ request.route_url('blog_edit', topic=topic, id='0') }}" class="btn btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span> Nouveau</a>
@@ -39,7 +38,7 @@
{% if entry.status == 'brouillon' %}
<td><span class="label label-danger">{{ entry.status }}</span></td>
{% else %}
td> </td>
<td> </td>
{% endif %}
</td>
</tr>