aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-10-25 13:02:39 +0000
committerGodin <mandrikov@gmail.com>2010-10-25 13:02:39 +0000
commitd64769d226fe9e70afaa92b77fb178657b8529ae (patch)
tree6bb5d94cdba77d308dd79ff110850c1aace1204f /sonar-server
parent4e65e4bcd7a2c3518e9188a68560feaf03f3ab09 (diff)
downloadsonarqube-d64769d226fe9e70afaa92b77fb178657b8529ae.tar.gz
sonarqube-d64769d226fe9e70afaa92b77fb178657b8529ae.zip
SONAR-1888: Add a button to install the last compatible version
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
index 615d92fb0af..8b60ccf1b0d 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/updatecenter/updates.html.erb
@@ -33,7 +33,11 @@
</td>
<td>
-
+ <div>
+ <form method="post" action="<%= ApplicationController.root_context -%>/updatecenter/install?from=updates&key=<%= update.getPlugin().getKey() -%>&version=<%= update.getRelease().getVersion() -%>" style="display: inline-block">
+ <input type="submit" value="Update"></input>
+ </form>
+ </div>
</td>
</tr>
<% end %>