Bugzilla – Attachment 36001 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.45 KB, created by
Marc Véron
on 2015-02-18 19:13:38 UTC
(
hide
)
Description:
Bug 11400 - Follow-up for nicer design
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-02-18 19:13:38 UTC
Size:
1.45 KB
patch
obsolete
>From c9ef35b8157424dc9d16c9671cd4338cba2e7fdf 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. >--- > 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> --> >-- >1.7.10.4
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