From b5b4c5c758580f8bdd3a983d289029c4f94f62c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> Date: Wed, 18 Feb 2015 20:09:57 +0100 Subject: [PATCH] [PASSED QA] Bug 11400 - Follow-up for nicer design This patch tries to get the Bug out of "In discussion" by changing the design a little bit. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> --- koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt index 25e48c1..c7e78d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt @@ -19,11 +19,8 @@ <div id="login_error"> <strong>Error:</strong> You do not have permission to access this page. - <p>Log in as a different user.</p> -</div> -<div id="onerror_actions"> - <a href="javascript:window.history.back()" class="button">Previous page</a> </div> +<p><strong>Log in as a different user</strong></p></h2> [% END %] [% IF ( timed_out ) %] @@ -71,6 +68,11 @@ <p class="submit"><input id="submit" type="submit" value="Login" tabindex="4" /></p> </form> +[% IF ( nopermission ) %] + <p><a href="javascript:window.history.back()">[Previous page]</a> + <a href="/">[Main page]</a></p> +[% END %] + <!--<ul> --> <!-- <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password lost and found">Lost your password?</a></li> --> <!-- </ul> --> -- 1.7.2.5