summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-24 08:50:17 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-24 08:50:17 +0000
commit22165fd071227de3f893319974d8568b2fb8ebc1 (patch)
tree0dc44b75d5a530002b5966eebe2c4f4d3fb66b90 /app/views/custom_fields
parent880883229f0e48adc20bdada6f00f8754dfa5cc9 (diff)
downloadredmine-22165fd071227de3f893319974d8568b2fb8ebc1.tar.gz
redmine-22165fd071227de3f893319974d8568b2fb8ebc1.zip
Per role visibility settings for version custom fields (#23997).
Patch by Jens Krämer and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18386 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index deb000297..a7af54a07 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -53,7 +53,7 @@
<%= call_hook(:"view_custom_fields_form_#{@custom_field.type.to_s.underscore}", :custom_field => @custom_field, :form => f) %>
</div>
- <% if %w(IssueCustomField TimeEntryCustomField ProjectCustomField).include?(@custom_field.class.name) %>
+ <% if %w(IssueCustomField TimeEntryCustomField ProjectCustomField VersionCustomField).include?(@custom_field.class.name) %>
<%= render :partial => 'visibility_by_role_selector', :locals => { :f => f } %>
<% end %>