Commit 1e7ec75f authored by Pierre Arnaud's avatar Pierre Arnaud

Fix auth.sign-in error

parent 8ffdaa0d
......@@ -7,14 +7,8 @@ ${parent.page_header()}
<h3 class="headline text-info">403</h3>
<div class="error-page-content">
<h4><i class="fa fa-warning text-yellow"></i> ${_(u'Oops! Access denied.')}</h4>
% if authenticated_user is not None:
<p>
${_(u'Access was denied to this resource. Meanwhile, you may <a href="{}">return to Home</a>').format(request.route_path('accueil')) | n}.
</p>
% else:
<p>
${_(u"Access was denied to this resource.<br>Meanwhile, you may <a href='{}'>return to sign in page</a>").format(request.route_path('auth.sign-in')) | n}.
</p>
% endif
</div><!-- /.error-content -->
</div><!-- /.error-page -->
......@@ -7,14 +7,8 @@ ${parent.page_header()}
<h3 class="headline text-info">404</h3>
<div class="error-page-content">
<h4><i class="fa fa-warning text-yellow"></i> ${_(u'Oops! Page not found.')}</h4>
% if authenticated_user is not None:
<p>
${_(u'We could not find the page you were looking for. Meanwhile, you may <a href="{}">return to Home</a>').format(request.route_path('accueil')) | n}.
</p>
% else:
<p>
${_(u"We could not find the page you were looking for.<br>Meanwhile, you may <a href='{}'>return to sign in page</a>").format(request.route_path('auth.sign-in')) | n}.
</p>
% endif
</div><!-- /.error-content -->
</div><!-- /.error-page -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment