diff options
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/index.html.erb | 4 | ||||
-rw-r--r-- | app/views/users/show.html.erb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 9071dba19..2211d6707 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -1,8 +1,8 @@ <div class="contextual"> -<%= link_to l(:label_user_new), new_user_path, :class => 'icon icon-add' %> +<%= link_to icon_with_label('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 l(:button_import), new_users_import_path, :class => 'icon icon-import' %> + <%= link_to icon_with_label('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 16a6c3414..7ff252945 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,5 +1,5 @@ <div class="contextual"> -<%= link_to(l(:button_edit), edit_user_path(@user), :class => 'icon icon-edit') if User.current.admin? && @user.logged? %> +<%= link_to(icon_with_label('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> |