From 7b236b02c99d0389ca3b01be306d7cfbc764b346 Mon Sep 17 00:00:00 2001 From: neobooru <50623835+neobooru@users.noreply.github.com> Date: Wed, 22 May 2019 23:08:26 +0200 Subject: [PATCH] Add setting to display underscores as spaces in tags --- client/html/post_readonly_sidebar.tpl | 2 +- client/html/settings.tpl | 9 +++++++++ client/html/tag.tpl | 2 +- client/js/controls/post_readonly_sidebar_control.js | 2 ++ client/js/models/settings.js | 1 + client/js/util/misc.js | 11 +++++++++++ client/js/util/views.js | 2 +- client/js/views/settings_view.js | 1 + client/js/views/tag_view.js | 2 ++ 9 files changed, 29 insertions(+), 3 deletions(-) diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl index 54d7241..c959655 100644 --- a/client/html/post_readonly_sidebar.tpl +++ b/client/html/post_readonly_sidebar.tpl @@ -91,7 +91,7 @@ --><% if (ctx.canListPosts) { %>' class='<%= ctx.makeCssName(tag.category, 'tag') %>'><% } %><%- tag.names[0] %> <%- ctx.getPrettyTagName(tag.names[0]) %> <% if (ctx.canListPosts) { %><% } %>