Wrap the meta refresh in TPAC within a check for ctx.is_staff, so
that idle TPAC tabs will not log out when running within the staff
client.
This is intended to resolve the primary cause of symptoms mentioned
in bug
1036318 "OPAC timeout within the client"
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
[% IF ctx.refresh %]
<meta http-equiv="refresh" content="[% ctx.refresh %]">
- [% ELSIF ctx.authtime %]
+ [% ELSIF ctx.authtime AND !ctx.is_staff %]
<meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.logout_page %]">
[% END %]
<meta name = "viewport" content = "initial-scale = 1.0">