From: Julien Lancelot Date: Tue, 6 Jan 2015 12:49:13 +0000 (+0100) Subject: SONAR-6008 Display SCM accounts in My Profile page X-Git-Tag: latest-silver-master-#65~344 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6e9abb21290dfa5e01d35543e8f4cbb648dce383;p=sonarqube.git SONAR-6008 Display SCM accounts in My Profile page --- 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