From: Bill Erickson Date: Tue, 29 Oct 2019 18:25:42 +0000 (-0400) Subject: LP1849137 Patron View hide OPAC header X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2bd0bf586fca5343c0a605062c825c8b08805ff6;p=evergreen%2Fpines.git LP1849137 Patron View hide OPAC header 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 Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2 index 920571c648..e4a1a55aa4 100644 --- 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 -%]
[% ctx.maintenance_message %]
[%- END -%] -[% IF !ctx.is_staff %] +[% IF !ctx.is_staff && !ctx.readonly %]