projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62fdc09
)
LP1849137 Patron View hide OPAC header
user/berick/lp1849137-ang-cat-opac-view-tab-2
author
Bill Erickson
<berickxx@gmail.com>
Tue, 29 Oct 2019 18:25:42 +0000
(14:25 -0400)
committer
Bill Erickson
<berickxx@gmail.com>
Tue, 29 Oct 2019 18:25:45 +0000
(14:25 -0400)
Hide the TPAC header (nav links, My Account, etc.) when displaying the
embedded read-only record detail view in the staff catalog Patron View
tab.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/templates/opac/parts/topnav.tt2
patch
|
blob
|
history
diff --git
a/Open-ILS/src/templates/opac/parts/topnav.tt2
b/Open-ILS/src/templates/opac/parts/topnav.tt2
index
f8dd9ed
..
f6390b7
100644
(file)
--- a/
Open-ILS/src/templates/opac/parts/topnav.tt2
+++ b/
Open-ILS/src/templates/opac/parts/topnav.tt2
@@
-1,7
+1,7
@@
[%- IF ctx.maintenance_message -%]
<div id="maintenance_message">[% ctx.maintenance_message %]</div>
[%- END -%]
-[% IF !ctx.is_staff %]
+[% IF !ctx.is_staff
&& !ctx.readonly
%]
<div id="header-wrap">
<div id="header">
<div class="float-left">