From 377b4c320a5d424e5c490940f75e1ce35804c640 Mon Sep 17 00:00:00 2001 From: Karel Picman Date: Wed, 31 Aug 2016 13:06:42 +0200 Subject: [PATCH] Bulk edit hook --- app/views/hooks/_view_users_bulk_edit.erb | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/views/hooks/_view_users_bulk_edit.erb diff --git a/app/views/hooks/_view_users_bulk_edit.erb b/app/views/hooks/_view_users_bulk_edit.erb new file mode 100644 index 00000000..eb0a0cd2 --- /dev/null +++ b/app/views/hooks/_view_users_bulk_edit.erb @@ -0,0 +1,27 @@ +<%# +# encoding: utf-8 +# +# Redmine plugin for Document Management System "Features" +# +# Copyright (C) 2011 Vít Jonáš +# Copyright (C) 2012 Daniel Munn +# Copyright (C) 2011-16 Karel Pičman +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +%> + +<%= labelled_fields_for 'user[pref]', @user.pref do |pref_fields| %> +

<%= pref_fields.check_box :dmsf_tree_view %>

+<% end %>