From 9bbbae62f19fe307b11630cac913a59df2b1c957 Mon Sep 17 00:00:00 2001 From: Hunternif Date: Sun, 16 Feb 2025 19:20:08 +0000 Subject: client+server: permission posts:bulk-edit:relations --- client/html/posts_header.tpl | 11 ++++++----- client/html/posts_page.tpl | 2 +- client/js/controllers/post_list_controller.js | 2 ++ server/config.yaml.dist | 3 ++- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/client/html/posts_header.tpl b/client/html/posts_header.tpl index 1e30eb4..311964c 100644 --- a/client/html/posts_header.tpl +++ b/client/html/posts_header.tpl @@ -73,11 +73,12 @@ %>Stop editing safety<% %><% } - %><% - %>
<% + if (ctx.canBulkEditRelations) { + %><% + } if (ctx.canBulkDelete) { %>