]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6226 Display link to home on error pages
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 3 Feb 2016 08:29:11 +0000 (09:29 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 4 Feb 2016 09:09:53 +0000 (10:09 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/email_already_exists.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/not_allowed_to_sign_up.html.erb
server/sonar-web/src/main/webapp/WEB-INF/app/views/sessions/unauthorized.html.erb

index ba75080a1c90813afca1bc696f70e6f1bc61d393..a3f1efa4eec4e4ba5713812dd1dcd12f07ddf0dd 100644 (file)
@@ -1,10 +1,11 @@
 <table class="spaced">
   <tr>
     <td align="center">
-
       <div id="login_form">
         <p id="unauthorized">Email <%= h params[:email] %> is already used by an existing user</p>
       </div>
+      <br/>
+      <a class="spacer-left" href="<%= home_path -%>"><%= message('layout.home') -%></a>
     </td>
   </tr>
 </table>
index b2ab35dbc824ce1757d8e7fe66a1f64a228b7a83..c8d1411a391522bfb9f17fbe9c4a18b5173db3dc 100644 (file)
@@ -1,10 +1,11 @@
 <table class="spaced">
   <tr>
     <td align="center">
-
       <div id="login_form">
         <p id="unauthorized"><%= h params[:providerName] %> users are not allowed to signup</p>
       </div>
+      <br/>
+      <a class="spacer-left" href="<%= home_path -%>"><%= message('layout.home') -%></a>
     </td>
   </tr>
 </table>
index d552618354128863143aa5faa0d94ed84dd83d0c..a7fe781a8297182b8548b1c64cd0068d20082f10 100644 (file)
@@ -9,6 +9,8 @@
       <div id="login_form">
         <p id="unauthorized">You're not authorized to access this page. Please contact the administrator.</p>
       </div>
+      <br/>
+      <a class="spacer-left" href="<%= home_path -%>"><%= message('layout.home') -%></a>
     </td>
   </tr>
 </table>