From 2807b9c927afd7ef0bf5afbfc2bb8ffd2fdc0277 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 12 Feb 2009 17:19:32 +0000 Subject: [PATCH] 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 --- app/views/my/account.rhtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 2fa91afb..ea226f5c 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -15,7 +15,9 @@

<%= f.text_field :lastname, :required => true %>

<%= f.text_field :mail, :required => true %>

<%= f.select :language, lang_options_for_select %>

+<% if Setting.openid? %>

<%= f.text_field :identity_url %>

+<% end %> <% @user.custom_field_values.select(&:editable?).each do |value| %>

<%= custom_field_tag_with_label :user, value %>