diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-12 17:19:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-02-12 17:19:32 +0000 |
commit | 2807b9c927afd7ef0bf5afbfc2bb8ffd2fdc0277 (patch) | |
tree | 17f74db87704bb331642654ed7627e68d909d8da /app/views/my/account.rhtml | |
parent | 60dc3572713d21b3292f7d81a6f264178291d265 (diff) | |
download | redmine-2807b9c927afd7ef0bf5afbfc2bb8ffd2fdc0277.tar.gz redmine-2807b9c927afd7ef0bf5afbfc2bb8ffd2fdc0277.zip |
Hide openid stuff on my account if disabled (#699).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2454 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/account.rhtml')
-rw-r--r-- | app/views/my/account.rhtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 2fa91afb4..ea226f5cb 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -15,7 +15,9 @@ <p><%= f.text_field :lastname, :required => true %></p> <p><%= f.text_field :mail, :required => true %></p> <p><%= f.select :language, lang_options_for_select %></p> +<% if Setting.openid? %> <p><%= f.text_field :identity_url %></p> +<% end %> <% @user.custom_field_values.select(&:editable?).each do |value| %> <p><%= custom_field_tag_with_label :user, value %></p> |