activities block moved to top of home page
This commit is contained in:
@@ -62,6 +62,35 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Container (ACTIVITES Section) -->
|
||||
{{ activities | safe }}
|
||||
{% if request.authenticated_userid %}
|
||||
<div class="text-center"><a href="/topic/_admin">Modifier les activités</a></div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Container (POSTS Section) -->
|
||||
<div id="posts">
|
||||
<br>
|
||||
<h5 class="text-center">PAGES RECENTES - CÁC BÀI MỚI</h5>
|
||||
|
||||
<table id="users_list" class="table table-condensed">
|
||||
{% for entry in last_ten %}
|
||||
<tr>
|
||||
<td>{{ entry.created.strftime("%d.%m.%Y") }}</td>
|
||||
<td>
|
||||
<a href="{{ request.route_url('blog', id=entry.id, slug=entry.slug) }}">{{ entry.title }}</a>
|
||||
</td>
|
||||
<td>{{ entry.author }}</td>
|
||||
{% if entry.status == 'brouillon' %}
|
||||
<td><span class="label label-danger">{{ entry.status }}</span></td>
|
||||
{% else %}
|
||||
<td> </td>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Container (Méditation SUNYATA Section) -->
|
||||
<div id="about" class="text-center">
|
||||
@@ -101,36 +130,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Container (ACTIVITES Section) -->
|
||||
{{ activities | safe }}
|
||||
{% if request.authenticated_userid %}
|
||||
<div class="text-center"><a href="/topic/_admin">Modifier les activités</a></div>
|
||||
{% endif %}
|
||||
|
||||
<!-- Container (POSTS Section) -->
|
||||
<div id="posts">
|
||||
<br>
|
||||
<h5 class="text-center">PAGES RECENTES - CÁC BÀI MỚI</h5>
|
||||
|
||||
<table id="users_list" class="table table-condensed">
|
||||
{% for entry in last_ten %}
|
||||
<tr>
|
||||
<td>{{ entry.created.strftime("%d.%m.%Y") }}</td>
|
||||
<td>
|
||||
<a href="{{ request.route_url('blog', id=entry.id, slug=entry.slug) }}">{{ entry.title }}</a>
|
||||
</td>
|
||||
<td>{{ entry.author }}</td>
|
||||
{% if entry.status == 'brouillon' %}
|
||||
<td><span class="label label-danger">{{ entry.status }}</span></td>
|
||||
{% else %}
|
||||
<td> </td>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Container (Contact Section) -->
|
||||
<div id="contact">
|
||||
|
||||
Reference in New Issue
Block a user