diff options
| author | rr- <rr-@sakuya.pl> | 2017-02-11 19:50:22 +0100 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2017-02-11 19:50:22 +0100 |
| commit | 0e4e9944319bb089c9d9ac67bfd8dd9f2c7c1986 (patch) | |
| tree | 8ff604a0a997c8f70d032c98ee3052e352e47fc7 /client/html | |
| parent | eda6d6d02a4e09a61b05b5ad1b06f4594e15b602 (diff) | |
client: rename 'mass tag' to 'bulk edit tags'
That way other bulk operations will be easier to name.
This also changes the privilege name.
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/posts_header.tpl | 10 | ||||
| -rw-r--r-- | client/html/posts_page.tpl | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/client/html/posts_header.tpl b/client/html/posts_header.tpl index 54c9ab1..f90de34 100644 --- a/client/html/posts_header.tpl +++ b/client/html/posts_header.tpl @@ -9,13 +9,13 @@ %><input data-safety=unsafe type='button' class='mousetrap safety safety-unsafe <%- ctx.settings.listPosts.unsafe ? '' : 'disabled' %>'/><% %><wbr/><% %><a class='mousetrap button append' href='<%- ctx.formatClientLink('help', 'search', 'posts') %>'>Syntax help</a><% - %><% if (ctx.canMassTag) { %><% + %><% if (ctx.canBulkEditTags) { %><% %><wbr/><% - %><span class='masstag'><% - %><span class='append masstag-hint'>Tagging with:</span><% - %><a href class='mousetrap button append open-masstag'>Mass tag</a><% + %><span class='bulk-edit-tags'><% + %><span class='append hint'>Tagging with:</span><% + %><a href class='mousetrap button append open'>Mass tag</a><% %><wbr/><% - %><%= ctx.makeTextInput({name: 'masstag', value: ctx.parameters.tag}) %><% + %><%= ctx.makeTextInput({name: 'tag', value: ctx.parameters.tag}) %><% %><input class='mousetrap start-tagging' type='submit' value='Start tagging'/><% %><a href class='mousetrap button append stop-tagging'>Stop tagging</a><% %></span><% diff --git a/client/html/posts_page.tpl b/client/html/posts_page.tpl index 79f31d9..1f0e664 100644 --- a/client/html/posts_page.tpl +++ b/client/html/posts_page.tpl @@ -33,8 +33,8 @@ </span> <% } %> </a> - <% if (ctx.canMassTag && ctx.parameters && ctx.parameters.tag) { %> - <a href data-post-id='<%= post.id %>' class='masstag'> + <% if (ctx.canBulkEditTags && ctx.parameters && ctx.parameters.tag) { %> + <a href data-post-id='<%= post.id %>' class='tag-flipper'> </a> <% } %> </li> |