summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-01 10:03:34 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-01 10:03:34 +0000
commitf0050f04b12cb071fdf94c2680b1b262d3cd4e16 (patch)
tree9ec7c0f8de40fe131068141dabead84009ef5321 /app
parent0a34e3e7e9ab40a270eed2407fc9edad5a445943 (diff)
downloadredmine-f0050f04b12cb071fdf94c2680b1b262d3cd4e16.tar.gz
redmine-f0050f04b12cb071fdf94c2680b1b262d3cd4e16.zip
Adds view_projects_copy_only_items hook (#28895).
Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17670 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/copy.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb
index f5524b965..8a7805ef0 100644
--- a/app/views/projects/copy.html.erb
+++ b/app/views/projects/copy.html.erb
@@ -12,6 +12,7 @@
<label class="block"><%= check_box_tag 'only[]', 'documents', true, :id => nil %> <%= l(:label_document_plural) %> (<%= @source_project.documents.count %>)</label>
<label class="block"><%= check_box_tag 'only[]', 'boards', true, :id => nil %> <%= l(:label_board_plural) %> (<%= @source_project.boards.count %>)</label>
<label class="block"><%= check_box_tag 'only[]', 'wiki', true, :id => nil %> <%= l(:label_wiki_page_plural) %> (<%= @source_project.wiki.nil? ? 0 : @source_project.wiki.pages.count %>)</label>
+ <%= call_hook :view_projects_copy_only_items, project: @source_project, f: f %>
<%= hidden_field_tag 'only[]', '' %>
<br />
<label class="block"><%= check_box_tag 'notifications', 1, params[:notifications] %> <%= l(:label_project_copy_notifications) %></label>