diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-10-19 10:06:26 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-10-19 10:06:26 +0000 |
commit | d1008280d8bead4757646d53f18d0b76fa20b429 (patch) | |
tree | 6424d06cc95da85711dc27460e39a976760527fd /app/views/users | |
parent | ffb78c12c35192aff8e13389577ef9564ab278ee (diff) | |
download | redmine-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/users')
-rw-r--r-- | app/views/users/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/users/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/users/show.html.erb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index adc43d417..354d31cb9 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -1,5 +1,5 @@ <div class="contextual"> -<%= link_to icon_with_label('user', l(:label_profile)), user_path(@user), :class => 'icon icon-user' %> +<%= link_to sprite_icon('user', l(:label_profile)), user_path(@user), :class => 'icon icon-user' %> <%= additional_emails_link(@user) %> <%= change_status_link(@user) %> <%= delete_link user_path(@user) if User.current != @user %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 2211d6707..eb975a5ff 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -1,8 +1,8 @@ <div class="contextual"> -<%= link_to icon_with_label('add', l(:label_user_new)), new_user_path, :class => 'icon icon-add' %> +<%= link_to sprite_icon('add', l(:label_user_new)), new_user_path, :class => 'icon icon-add' %> <%= actions_dropdown do %> <% if User.current.allowed_to?(:import_users, nil, :global => true) %> - <%= link_to icon_with_label('import', l(:button_import)), new_users_import_path, :class => 'icon icon-import' %> + <%= link_to sprite_icon('import', l(:button_import)), new_users_import_path, :class => 'icon icon-import' %> <% end %> <% end %> </div> diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 7ff252945..784c49139 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,5 +1,5 @@ <div class="contextual"> -<%= link_to(icon_with_label('edit', l(:button_edit)), edit_user_path(@user), :class => 'icon icon-edit') if User.current.admin? && @user.logged? %> +<%= link_to(sprite_icon('edit', l(:button_edit)), edit_user_path(@user), :class => 'icon icon-edit') if User.current.admin? && @user.logged? %> </div> <h2><%= avatar @user, :size => "50" %> <%= @user.name %></h2> |