From a19e8ba578912f76d0c05d2ff674e460471a5dbc Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Sun, 9 Aug 2020 13:53:40 -0700 Subject: [PATCH] LP1849212: Make OPAC header links consistent Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/advanced.tt2 | 4 ++++ Open-ILS/src/templates/opac/browse.tt2 | 5 +++++ Open-ILS/src/templates/opac/course_browse.tt2 | 9 ++++++--- Open-ILS/src/templates/opac/course_search.tt2 | 6 ++++-- Open-ILS/src/templates/opac/parts/searchbar.tt2 | 1 + 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/opac/advanced.tt2 b/Open-ILS/src/templates/opac/advanced.tt2 index d2549e94ba..b4be00391b 100644 --- a/Open-ILS/src/templates/opac/advanced.tt2 +++ b/Open-ILS/src/templates/opac/advanced.tt2 @@ -16,6 +16,10 @@ [% l('Browse the Catalog')%] + [% IF ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1 %] + [% l('Search for Courses') %] + [% l('Browse for Courses') %] + [% END %] [% INCLUDE 'opac/parts/cart.tt2' %]
diff --git a/Open-ILS/src/templates/opac/browse.tt2 b/Open-ILS/src/templates/opac/browse.tt2 index 97a8c0c180..cb60e3f14d 100644 --- a/Open-ILS/src/templates/opac/browse.tt2 +++ b/Open-ILS/src/templates/opac/browse.tt2 @@ -37,6 +37,11 @@ id="home_adv_search_link">[%l('Advanced Search')%] [% l('Browse the Catalog') %] + [% IF ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1 %] + [% l('Search for Courses') %] + [% l('Browse for Courses') %] + + [% END %] [% INCLUDE 'opac/parts/cart.tt2' %]
diff --git a/Open-ILS/src/templates/opac/course_browse.tt2 b/Open-ILS/src/templates/opac/course_browse.tt2 index 5caabdc94c..addfd519ce 100644 --- a/Open-ILS/src/templates/opac/course_browse.tt2 +++ b/Open-ILS/src/templates/opac/course_browse.tt2 @@ -23,8 +23,11 @@ [% l('Basic Search') %] [%l('Advanced Search')%] - [% l('Browse the Catalog') %] - [% l('Search Courses') %] + [% + l('Browse the Catalog')%] + [% + l('Search Courses')%] + [% l('Browse for Courses') %] [% INCLUDE 'opac/parts/cart.tt2' %] @@ -158,4 +161,4 @@ -[% END %] \ No newline at end of file +[% END %] diff --git a/Open-ILS/src/templates/opac/course_search.tt2 b/Open-ILS/src/templates/opac/course_search.tt2 index 979930a393..0e58fd0b91 100644 --- a/Open-ILS/src/templates/opac/course_search.tt2 +++ b/Open-ILS/src/templates/opac/course_search.tt2 @@ -12,13 +12,15 @@
@@ -92,4 +94,4 @@ -[% END %] \ No newline at end of file +[% END %] diff --git a/Open-ILS/src/templates/opac/parts/searchbar.tt2 b/Open-ILS/src/templates/opac/parts/searchbar.tt2 index 72139869a9..35034f3279 100644 --- a/Open-ILS/src/templates/opac/parts/searchbar.tt2 +++ b/Open-ILS/src/templates/opac/parts/searchbar.tt2 @@ -46,6 +46,7 @@ END; [% l('Browse the Catalog') %] [% IF ctx.get_org_setting(ctx.aou_tree.id, 'circ.course_materials_opt_in') == 1 %] [% l('Search for Courses') %] + [% l('Browse for Courses') %] [% END %] [% INCLUDE 'opac/parts/cart.tt2' %] -- 2.11.0