added button to dupplicate a post
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
|
||||
<a href="{{ request.route_url('blog_edit', topic=entry.topic_id, id=entry.id) }}" class="btn btn-primary" role="button">
|
||||
<span class="glyphicon glyphicon-pencil"></span> Modifier</a>
|
||||
</p>
|
||||
<a href="{{ request.route_url('blog_copy', topic=entry.topic_id, id=entry.id) }}" class="btn btn-success" role="button">
|
||||
<span class="glyphicon glyphicon-duplicate"></span> Duppliquer</a>
|
||||
</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -18,6 +20,9 @@
|
||||
<p>
|
||||
Auteur : <strong>{{ entry.author }}</strong><br>
|
||||
Publié le : <strong>{{ entry.created.strftime("%d-%m-%Y - %H:%M") }}</strong><br>
|
||||
{% if request.authenticated_userid %}
|
||||
Topic - Tag : <strong>{{ entry.topic_id }}</strong> - <strong>{{ entry.tag }}</strong>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<p>
|
||||
<a href="{{ request.route_url('blog', id=10, slug='la-m%25C3%25A9ditation-sunyata-%253A-un-aper%25C3%25A7u') }}">
|
||||
<a href="{{ request.route_url('blog', id=10, slug='la-meditation-sunyata-%253A-un-apercu') }}">
|
||||
<img src="{{ request.static_url('cao_blogr:static/ni-su.jpg') }}" class="img-circle person" alt="Médiation Sunyata" width="255" height="255">
|
||||
<br /><b>La Méditation SUNYATA</b>
|
||||
</a>
|
||||
@@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<p>
|
||||
<a href="{{ request.route_url('blog', id=2, slug='biographie-du-ma%25C3%25AEtre-thich-th%25C3%25B4ng-tri%25C3%25AAt-%25281929-2019%2529') }}">
|
||||
<a href="{{ request.route_url('blog', id=2, slug='biographie-du-maitre-thich-thong-triet-%25281929-2019%2529') }}">
|
||||
<img src="{{ request.static_url('cao_blogr:static/img/thong-triet.jpg') }}" class="img-circle person" alt="Maître Thông Triêt" width="255" height="255">
|
||||
<br /><b>Le Maître Fondateur</b>
|
||||
</a>
|
||||
@@ -91,10 +91,11 @@
|
||||
Il s'est ensuite établi aux Etats Unis et a commencé à enseigner en 1995 dans l'Oregon. </p>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<a href="#demo3" data-toggle="collapse">
|
||||
<p>
|
||||
<a href="{{ request.route_url('blog', id=22, slug='aller-droit-au-samadhi-avec-les-deux-mots-%2522parle-pas%2522') }}">
|
||||
<img src="{{ request.static_url('cao_blogr:static/khong-noi.jpg') }}" class="img-circle person" alt="Khong Noi" width="255" height="255">
|
||||
<br /><b>La technique « PARLE PAS »</b>
|
||||
</a>
|
||||
<p><b>La technique « PARLE PAS »</p></b>
|
||||
<p>Depuis 2016, la technique <b>PARLE PAS</b> (ou KHÔNG NÓI) est devenu la pierre angulaire de la pratique de la méditation SUNYATA. Cette technique conduit le méditant vers la maîtrise de ses pensées à travers un processus graduel d'extinction des murmures mentaux.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
<div class="row">
|
||||
<p class="text-center">
|
||||
© 2022 - Méditation SUNYATA Paris
|
||||
| <a href="{{ request.route_url('blog', id=1, slug='mentions-l%25C3%25A9gales') }}">Mentions légales</a>
|
||||
| <a href="{{ request.route_url('blog', id=1, slug='mentions-legales') }}">Mentions légales</a>
|
||||
| <a href="{{ request.route_url('topic', topic='FR9') }}">A propos</a>
|
||||
|
||||
</p>
|
||||
|
||||
@@ -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