From f437a4d0eca7bc1323fb5fd2f029fc507a2f1326 Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Fri, 21 May 2021 14:36:38 +0200 Subject: [PATCH] Use feather-link for categories and labels --- app/main/templates/categories.html | 9 +++------ app/main/templates/labels.html | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/app/main/templates/categories.html b/app/main/templates/categories.html index 5ae6a0a..a266aad 100644 --- a/app/main/templates/categories.html +++ b/app/main/templates/categories.html @@ -8,18 +8,15 @@ Catégories - Modifier - Effacer + Éditer {% for category in categories %} {{ category.name }} - - + {{ commons.edit_link(url_for('main.category_edit', category_id=category.id)) }} + {{ commons.delete_link( url_for('main.category_delete', category_id=category.id)) }} {% endfor %} diff --git a/app/main/templates/labels.html b/app/main/templates/labels.html index e55e752..4500f6f 100644 --- a/app/main/templates/labels.html +++ b/app/main/templates/labels.html @@ -8,18 +8,15 @@ Labels - Modifier - Effacer + Éditer {% for label in labels %} {{ label.name }} - - + {{ commons.edit_link(url_for('main.label_edit', label_id=label.id)) }} + {{ commons.delete_link( url_for('main.label_delete', label_id=label.id)) }} {% endfor %} -- libgit2 0.21.2