mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user