summaryrefslogtreecommitdiffstats
path: root/app/views/projects/show.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-06 22:31:14 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-06 22:31:14 +0000
commit7b5131a229b3084c1bc99ecc04b8b3ee006c0c20 (patch)
treec7a20ba7ad909f7a4431320c9fba9d503499a17b /app/views/projects/show.html.erb
parent07706cb207cf867336ceb900a5d1bc3f1af773d5 (diff)
downloadredmine-7b5131a229b3084c1bc99ecc04b8b3ee006c0c20.tar.gz
redmine-7b5131a229b3084c1bc99ecc04b8b3ee006c0c20.zip
Add CSS class to project custom fields (#30977).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17931 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects/show.html.erb')
-rw-r--r--app/views/projects/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index 923bc03e8..da1c53d98 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -30,7 +30,7 @@
<li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li>
<% end %>
<% render_custom_field_values(@project) do |custom_field, formatted| %>
- <li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
+ <li class="cf_<%= custom_field.id %>"><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
<% end %>
</ul>
<% end %>