]> source.dussan.org Git - sonarqube.git/commitdiff
Remove rails code from static error pages 1442/head
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 8 Dec 2016 13:03:08 +0000 (14:03 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 8 Dec 2016 13:28:46 +0000 (14:28 +0100)
server/sonar-web/src/main/webapp/401.html
server/sonar-web/src/main/webapp/404.html
server/sonar-web/src/main/webapp/500.html

index 81155ddfabf912778066f61a8659530611b341d2..412b24de4b2c5d49f35dab02dd2679f458fe738c 100644 (file)
   <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>
index 1252f747a62bebefdf701229f399550f6f640db1..a03502e5e51a07c33231ca3a09c4327068e5e74a 100644 (file)
   <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>
index c60b0501e272df627cb7c925032b6a9781aab468..cd2bc87f2dc5d6169e6bc3eaab0ff0697b2c2ffe 100644 (file)
 
   <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>