Adds an icon to the change password link.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6164 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-07-03 11:56:27 +00:00
parent 8914d323ee
commit 247a6f304e
3 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<div class="contextual"> <div class="contextual">
<%= link_to(l(:button_change_password), :action => 'password') if @user.change_password_allowed? %> <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
<%= call_hook(:view_my_account_contextual, :user => @user)%> <%= call_hook(:view_my_account_contextual, :user => @user)%>
</div> </div>
<h2><%=l(:label_my_account)%></h2> <h2><%=l(:label_my_account)%></h2>

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

View File

@ -893,6 +893,7 @@ padding-bottom: 3px;
.icon-issue { background-image: url(../images/ticket.png); } .icon-issue { background-image: url(../images/ticket.png); }
.icon-zoom-in { background-image: url(../images/zoom_in.png); } .icon-zoom-in { background-image: url(../images/zoom_in.png); }
.icon-zoom-out { background-image: url(../images/zoom_out.png); } .icon-zoom-out { background-image: url(../images/zoom_out.png); }
.icon-passwd { background-image: url(../images/textfield_key.png); }
.icon-file { background-image: url(../images/files/default.png); } .icon-file { background-image: url(../images/files/default.png); }
.icon-file.text-plain { background-image: url(../images/files/text.png); } .icon-file.text-plain { background-image: url(../images/files/text.png); }