summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-03 11:56:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-03 11:56:27 +0000
commit247a6f304e7959fab583f442384b617262496400 (patch)
tree8d35f81dae0da18922ce0d88ee49e04f8476f44e
parent8914d323ee14c660c169ef143800343f87af33da (diff)
downloadredmine-247a6f304e7959fab583f442384b617262496400.tar.gz
redmine-247a6f304e7959fab583f442384b617262496400.zip
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
-rw-r--r--app/views/my/account.rhtml2
-rw-r--r--public/images/textfield_key.pngbin0 -> 455 bytes
-rw-r--r--public/stylesheets/application.css1
3 files changed, 2 insertions, 1 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml
index 99b58ffe7..139ca6b1a 100644
--- a/app/views/my/account.rhtml
+++ b/app/views/my/account.rhtml
@@ -1,5 +1,5 @@
<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)%>
</div>
<h2><%=l(:label_my_account)%></h2>
diff --git a/public/images/textfield_key.png b/public/images/textfield_key.png
new file mode 100644
index 000000000..a9d5e4f8c
--- /dev/null
+++ b/public/images/textfield_key.png
Binary files differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d74cba136..d621b5d1d 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -893,6 +893,7 @@ padding-bottom: 3px;
.icon-issue { background-image: url(../images/ticket.png); }
.icon-zoom-in { background-image: url(../images/zoom_in.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.text-plain { background-image: url(../images/files/text.png); }