aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-12-08 14:03:08 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-12-08 14:28:46 +0100
commit821b2de67a214807397ccd360659fe6e3d56363a (patch)
treee45a1cea1a0e26f36f0a0fe162dac7520ccffb4e
parent8840198643624f2d100cf67c87f5a3fb192c6ec4 (diff)
downloadsonarqube-821b2de67a214807397ccd360659fe6e3d56363a.tar.gz
sonarqube-821b2de67a214807397ccd360659fe6e3d56363a.zip
Remove rails code from static error pages
-rw-r--r--server/sonar-web/src/main/webapp/401.html4
-rw-r--r--server/sonar-web/src/main/webapp/404.html4
-rw-r--r--server/sonar-web/src/main/webapp/500.html6
3 files changed, 0 insertions, 14 deletions
diff --git a/server/sonar-web/src/main/webapp/401.html b/server/sonar-web/src/main/webapp/401.html
index 81155ddfabf..412b24de4b2 100644
--- a/server/sonar-web/src/main/webapp/401.html
+++ b/server/sonar-web/src/main/webapp/401.html
@@ -37,10 +37,6 @@
<h1>Unauthorized access.</h1>
<p>You haven't access to this page.</p>
-
- <p>
- <%= link_to "Go back to the homepage", home_path %>
- </p>
</div>
</body>
</html>
diff --git a/server/sonar-web/src/main/webapp/404.html b/server/sonar-web/src/main/webapp/404.html
index 1252f747a62..a03502e5e51 100644
--- a/server/sonar-web/src/main/webapp/404.html
+++ b/server/sonar-web/src/main/webapp/404.html
@@ -37,10 +37,6 @@
<h1>The page you were looking for doesn't exist.</h1>
<p>You may have mistyped the address or the page may have moved.</p>
-
- <p>
- <%= link_to "Go back to the homepage", home_path %>
- </p>
</div>
</body>
</html>
diff --git a/server/sonar-web/src/main/webapp/500.html b/server/sonar-web/src/main/webapp/500.html
index c60b0501e27..cd2bc87f2dc 100644
--- a/server/sonar-web/src/main/webapp/500.html
+++ b/server/sonar-web/src/main/webapp/500.html
@@ -36,12 +36,6 @@
<p>Please try back in a few minutes and contact <a href="http://www.sonarqube.org/get-support/">support</a> if the problem
persists.</p>
-
- <p>
- <!-- SONAR-4447 Sometimes this error page is served as static html so we hide ruby code <%= '--'%>>
- <%= link_to "Go back to the homepage", home_path %>
- <%= '<'%>!-- -->
- </p>
</div>
</body>
</html>