added button to dupplicate a post
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user