Commit ff210234 authored by maeda's avatar maeda

Adds view_projects_copy_only_items hook (#28895).

Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@17670 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a7bf38dd
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment