From 6e9abb21290dfa5e01d35543e8f4cbb648dce383 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 6 Jan 2015 13:49:13 +0100 Subject: [PATCH] SONAR-6008 Display SCM accounts in My Profile page --- .../src/main/webapp/WEB-INF/app/views/account/index.html.erb | 4 ++++ sonar-core/src/main/resources/org/sonar/l10n/core.properties | 1 + 2 files changed, 5 insertions(+) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb index 426d20b0037..1fdc9958569 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb @@ -27,6 +27,10 @@ <%= message('my_profile.groups') -%>: <%= current_user.groups.sort.map(&:name).join(', ') %> + + <%= message('my_profile.scm_accounts') -%>: + <%= current_user.scm_accounts.split(',').reject { |c| c.empty? }.join(', ') %> + diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 13eaa3d208f..ce5d428586e 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -1997,6 +1997,7 @@ my_profile.login=Login my_profile.name=Name my_profile.email=Email my_profile.groups=Groups +my_profile.scm_accounts=SCM ccounts my_profile.password.title=Change password my_profile.password.old=Old value my_profile.password.new=New value -- 2.39.5