summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-10 15:31:46 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-10 15:31:46 +0000
commit6d0eba75e92898c8308a8ed0892d49bd515c45b3 (patch)
treee85b94013ad6234fa3b70f1eb2210471b0116ff4 /app/views
parent1af81684260f68c958a04df8adcd4d13b11f143f (diff)
downloadredmine-6d0eba75e92898c8308a8ed0892d49bd515c45b3.tar.gz
redmine-6d0eba75e92898c8308a8ed0892d49bd515c45b3.zip
@principal_icon@ method should accept a Principal as argument (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23230 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/settings/_members.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb
index bd953d247..6e13808b6 100644
--- a/app/views/projects/settings/_members.html.erb
+++ b/app/views/projects/settings/_members.html.erb
@@ -20,7 +20,7 @@
<% next if member.new_record? %>
<tr id="member-<%= member.id %>" class="member">
<td class="name icon icon-<%= member.principal.class.name.downcase %>">
- <%= principal_icon(member.principal.class.name.downcase) %>
+ <%= principal_icon(member.principal) %>
<%= link_to_user member.principal %>
</td>
<td class="roles">