Bugzilla – Attachment 36016 Details for
Bug 11400
Show "Login as a different user" instead of "Logout" if not enough premissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11400 - Follow-up for nicer design
Bug-11400---Follow-up-for-nicer-design.patch (text/plain), 1.50 KB, created by
Chris Cormack
on 2015-02-19 09:14:47 UTC
(
hide
)
Description:
Bug 11400 - Follow-up for nicer design
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2015-02-19 09:14:47 UTC
Size:
1.50 KB
patch
obsolete
>From b56aa632e634af1186a64f5cb58bce08b3aa4474 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] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt | 10 ++++++---- > 1 file 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> --> >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11400
:
23576
|
23872
|
23912
|
23952
|
36001
|
36015
|
36016
|
36066
|
36067