From e09a04801ef1a4630bf4c69f279a5024299ef791 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Thu, 4 Nov 2010 14:18:25 +0000 Subject: [PATCH] update labels in the system updates page --- .../views/updatecenter/system_updates.html.erb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb index 2be50e1b221..7ea54286386 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb @@ -61,27 +61,30 @@ <% if update.hasWarnings() %> - Please execute the following and restart Sonar only during the last step : + Follow those steps to upgrade Sonar from version <%= sonar_version -%> to version <%= release.getVersion() -%> :
    <% update.getIncompatiblePlugins().each do |incompatible_plugin| %> -
  1. <%= image_tag 'warning.png' -%> The plugin <%= incompatible_plugin.getName() -%> is not compatible and must be uninstalled. +
  2. - + <%= image_tag 'warning.png' -%> the plugin <%= incompatible_plugin.getName() -%> which is not compatible with Sonar <%= release.getVersion() -%>.
  3. <% end %> <% update.getPluginsToUpgrade().each do |plugin_to_upgrade| %> -
  4. Upgrade the plugin <%= plugin_to_upgrade.getArtifact().getName() -%>. +
  5. - + + the plugin <%= plugin_to_upgrade.getArtifact().getName() -%> to version <%= plugin_to_upgrade.getVersion() -%>
  6. <% end %> -
  7. <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and carefully read the upgrade guide.
  8. +
  9. Stop Sonar
  10. +
  11. <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install Sonar <%= release.getVersion() -%> after having carefully read the upgrade guide.
  12. +
  13. Start Sonar
<% else %> - <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and carefully read the upgrade guide. + <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install Sonar <%= release.getVersion() -%> after having carefully read the upgrade guide. <% end %> -- 2.39.5