summaryrefslogtreecommitdiffstats
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-09 15:07:36 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-09 15:07:36 +0000
commit12968c0843970676c4c1eb60d0d82f4dbaca5caa (patch)
tree91e2a01270a55c6006b04f1565a868a47d252f48 /app/views/users/show.html.erb
parent33522bf2e88026d0ca4f3d304d016dddf5966044 (diff)
downloadredmine-12968c0843970676c4c1eb60d0d82f4dbaca5caa.tar.gz
redmine-12968c0843970676c4c1eb60d0d82f4dbaca5caa.zip
Add CSS class to user custom fields (#30985).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17935 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 488e4b93a..7092518d2 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -13,7 +13,7 @@
<% end %>
<% @user.visible_custom_field_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>
- <li><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li>
+ <li class="cf_<%= custom_value.custom_field.id %>"><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li>
<% end %>
<% end %>
<li><%=l(:label_registered_on)%>: <%= format_date(@user.created_on) %></li>