summaryrefslogtreecommitdiffstats
path: root/app/views/context_menus
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-07-13 10:21:49 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-07-13 10:21:49 +0000
commit6322650728c8c642ee370f45c4f118896fd6f0c8 (patch)
treeec442e176773b56d958377be26f818b7e92ee6f6 /app/views/context_menus
parent20dcd39f4250b4df1216c34db0d76656fe0ecd0c (diff)
downloadredmine-6322650728c8c642ee370f45c4f118896fd6f0c8.tar.gz
redmine-6322650728c8c642ee370f45c4f118896fd6f0c8.zip
Add bulk unlock to user list context menu (#40913).
git-svn-id: https://svn.redmine.org/redmine/trunk@22925 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus')
-rw-r--r--app/views/context_menus/users.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/context_menus/users.html.erb b/app/views/context_menus/users.html.erb
index c47b55fd2..93fe061e6 100644
--- a/app/views/context_menus/users.html.erb
+++ b/app/views/context_menus/users.html.erb
@@ -25,6 +25,10 @@
<li>
<%= context_menu_link l(:button_lock), bulk_lock_users_path(ids: @users.map(&:id)), method: :post, class: 'icon icon-lock' %>
</li>
+ <% else %>
+ <li>
+ <%= context_menu_link l(:button_unlock), bulk_unlock_users_path(ids: @users.map(&:id)), method: :post, class: 'icon icon-unlock' %>
+ </li>
<% end %>
<li>
<%= context_menu_link l(:button_delete),