summaryrefslogtreecommitdiffstats
path: root/app/views/principal_memberships
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-10-19 10:06:26 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-10-19 10:06:26 +0000
commitd1008280d8bead4757646d53f18d0b76fa20b429 (patch)
tree6424d06cc95da85711dc27460e39a976760527fd /app/views/principal_memberships
parentffb78c12c35192aff8e13389577ef9564ab278ee (diff)
downloadredmine-d1008280d8bead4757646d53f18d0b76fa20b429.tar.gz
redmine-d1008280d8bead4757646d53f18d0b76fa20b429.zip
Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/principal_memberships')
-rw-r--r--app/views/principal_memberships/_index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/principal_memberships/_index.html.erb b/app/views/principal_memberships/_index.html.erb
index d6ecaaa40..6afe16184 100644
--- a/app/views/principal_memberships/_index.html.erb
+++ b/app/views/principal_memberships/_index.html.erb
@@ -1,6 +1,6 @@
<% memberships = principal.memberships.preload(:member_roles, :roles).sorted_by_project.to_a %>
-<p><%= link_to icon_with_label('add', l(:label_add_projects)), new_principal_membership_path(principal), :remote => true, :class => "icon icon-add" %></p>
+<p><%= link_to sprite_icon('add', l(:label_add_projects)), new_principal_membership_path(principal), :remote => true, :class => "icon icon-add" %></p>
<% if memberships.any? %>
<table class="list memberships">
@@ -22,7 +22,7 @@
<div id="member-<%= membership.id %>-form"></div>
</td>
<td class="buttons">
- <%= link_to icon_with_label('edit', l(:button_edit)),
+ <%= link_to sprite_icon('edit', l(:button_edit)),
edit_principal_membership_path(principal, membership),
:remote => true,
:class => 'icon icon-edit'