summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-08-20 01:44:44 +0000
committerGo MAEDA <maeda@farend.jp>2019-08-20 01:44:44 +0000
commit3495cba92bd8a2448381e01056920b48dd882180 (patch)
tree1abe416e54c45a5b33e5724b1fa356a8ce8378c0 /app/views/projects
parenta1d454a1b18f503a30805a29b55fccecf97e48d7 (diff)
downloadredmine-3495cba92bd8a2448381e01056920b48dd882180.tar.gz
redmine-3495cba92bd8a2448381e01056920b48dd882180.zip
Per role visibility settings for project custom fields (#31925).
Patch by Jens Krämer and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18379 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb
index fc758f4e9..7c988fb0e 100644
--- a/app/views/projects/_form.html.erb
+++ b/app/views/projects/_form.html.erb
@@ -25,7 +25,7 @@
<%= wikitoolbar_for 'project_description' %>
-<% @project.custom_field_values.each do |value| %>
+<% @project.visible_custom_field_values.each do |value| %>
<p><%= custom_field_tag_with_label :project, value %></p>
<% end %>
<%= call_hook(:view_projects_form, :project => @project, :form => f) %>