templates.admin.sonar.viewSonarServers.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bamboo-sonar-plugin Show documentation
Show all versions of bamboo-sonar-plugin Show documentation
Bamboo plugin to integrate Sonar code quality platform with Bamboo
[@ww.text name='sonar.global.servers.title' /]
[@ww.text name='sonar.global.servers.heading' /]
[@ww.text name='sonar.global.servers.description' /]
[#if action.hasActionMessages()]
[@ww.actionmessage theme='simple'/]
[/#if]
[@ww.actionerror /]
[@ui.clear/]
[@ui.bambooPanel titleKey='sonar.global.servers.list.heading']
[#if sonarServers?has_content]
[@ww.text name='sonar.global.servers.list.heading.server' /]
[@ww.text name='sonar.global.servers.list.heading.configuration' /]
[@ww.text name='sonar.global.servers.list.heading.operations' /]
[#foreach server in sonarServers]
${server.name?html}
[#if server.description?has_content]
${server.description}
[/#if]
[@ww.text name='sonar.global.servers.list.host' /]: ${server.host}
[#if server.databaseUrl?has_content]
[@ww.text name='sonar.global.servers.list.database' /]: ${server.databaseUrl}
[#else]
[@ww.text name='sonar.global.servers.list.database' /]: [@ww.text name='sonar.global.servers.list.database.default' /]
[/#if]
[#if server.databaseDriver?has_content]
[@ww.text name='sonar.global.servers.list.driver' /]: ${server.databaseDriver}
[#else]
[@ww.text name='sonar.global.servers.list.driver' /]: [@ww.text name='sonar.global.servers.list.driver.default' /]
[/#if]
[#if server.databaseUsername?has_content]
[@ww.text name='sonar.global.servers.list.username' /]: ${server.databaseUsername}
[#else]
[@ww.text name='sonar.global.servers.list.username' /]: [@ww.text name='sonar.global.servers.list.username.default' /]
[/#if]
[#if server.additionalArguments?has_content]
[@ww.text name='sonar.global.servers.list.add.args' /]: ${server.additionalArguments}
[/#if]
[@ww.text name='sonar.global.edit.server' /]
| [@ww.text name='sonar.global.delete.server' /]
[#if server.disabled]
| [@ww.text name='sonar.global.enable.server' /]
[#else]
| [@ww.text name='sonar.global.disable.server' /]
[/#if]
[/#foreach]
[#else]
[@ww.text name='sonar.global.servers.none' /]
[/#if]
[/@ui.bambooPanel]