Grégory Soutadé
85488e0838
Set slugify to be global Update modification date only if text has been changed Fix a bug in preview (post_id was passed instead of blog_id) Add Home, Category and Tag links in blog area instead of global area (dynastie template) Fix a bug in Have_I_right
15 lines
474 B
HTML
15 lines
474 B
HTML
{% extends "templates/base.html" %}
|
|
|
|
{% block content %}
|
|
{% if categories|length == 0 %}
|
|
<b>Any category available</b><br/><br/>
|
|
{% else %}
|
|
<table>
|
|
{% for category in categories %}
|
|
<tr><td>{{ category.id }}</td><td>{{ category.name }}</td><td><a href="/category/edit/{{ category.id }}">Edit</a></td><td><a href="/category/delete/{{ category.id }}">Delete</a></td></tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endif %}
|
|
<li><a href="/category/add">Add a category</a></li>
|
|
{% endblock %}
|