diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-29 16:27:12 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-29 16:27:12 +0200 |
commit | 671905d1ae89fd3c0b547caab28d82b28042fc58 (patch) | |
tree | aa1672855837fb13f4642e2045a260e75322dfa5 /sonar-server | |
parent | 3139da24dc02b3e16787df115a09b0fa0e833e6b (diff) | |
download | sonarqube-671905d1ae89fd3c0b547caab28d82b28042fc58.tar.gz sonarqube-671905d1ae89fd3c0b547caab28d82b28042fc58.zip |
SONAR-2840 do not display JDBC settings in the database upgrade form
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/setup/dbdown.rhtml | 19 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml | 23 |
2 files changed, 5 insertions, 37 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/dbdown.rhtml b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/dbdown.rhtml index cfb2a3049e9..fe3786216d4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/dbdown.rhtml +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/dbdown.rhtml @@ -1,21 +1,6 @@ -<h1>Database down.</h1> +<h1>Fail to connect to database</h1> <div class="error"> - Database connection cannot be established. Check that you have a database running - and configured for the following settings : - <table> - <tr> - <td>URL: </td> - <td><%= configuration('sonar.jdbc.url', '') -%> - </tr> - <tr> - <td>Login: </td> - <td><%= configuration('sonar.jdbc.username', '') -%> - </tr> - <tr> - <td>Driver: </td> - <td><%= configuration('sonar.jdbc.driverClassName', '') -%> - </tr> -</table> + Database connection cannot be established. Please check database status and JDBC settings. <br/><br/> <%= button_to "Try again", { :action => "index" }, :method => :get %> </div>
\ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml index c09154ca647..3e765f936a8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/setup/form.rhtml @@ -16,31 +16,14 @@ <div id="setupform"> <div id="setupformlogo"><a href="http://www.sonarsource.org"><%= image_tag('sonar.png', :class => 'png') -%></a></div> -<h1 class="marginbottom10">Upgrade database.</h1> -<p> -<h3>Connection</h3> -<table> - <tr> - <td width="1%" nowrap>URL: </td> - <td><%= configuration('sonar.jdbc.url', '') -%> - </tr> - <tr> - <td width="1%" nowrap>Login: </td> - <td><%= configuration('sonar.jdbc.username', '') -%> - </tr> - <tr> - <td width="1%" nowrap>Driver: </td> - <td><%= configuration('sonar.jdbc.driverClassName', '') -%> - </tr> -</table> -</p> +<h1 class="marginbottom10">Upgrade database</h1> <br/> -<h3>Warnings</h3> +<h3>Important</h3> <p> <ul> <li><b>Do not refresh this page</b> until the upgrade is finished. It can take several minutes.</li> <li>It is recommended to <b>backup database</b> before upgrading.</li> - <li><b>Copy the directory /extensions</b> from previous version of Sonar before upgrading.</li> + <li><b>Copy the directory /extensions</b> from previous version before upgrading.</li> </ul> </p> <br/> |