LP 1964963: Improve Customization of BOOPAC topnav logo
authorJason Stephenson <jason@sigio.com>
Tue, 15 Mar 2022 13:39:54 +0000 (09:39 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Mon, 28 Mar 2022 13:43:52 +0000 (09:43 -0400)
Move the anchor for the topnav logo from topnav_links.tts to
topnav_logo.tt2.  This minor change means that those who wish to move
or remove the topnav logo will have fewer files to change and those
changes will be less likely to conflict with future changes to BOOPAC.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>

Open-ILS/src/templates-bootstrap/opac/parts/topnav_links.tt2
Open-ILS/src/templates-bootstrap/opac/parts/topnav_logo.tt2

index a33dd15..7d6d510 100755 (executable)
@@ -1,6 +1,6 @@
 <nav class="navbar navbar-expand-lg navbar-dark ">
 <!--Home-->
-  <a class="navbar-brand" href="/eg/opac/">[% INCLUDE "opac/parts/topnav_logo.tt2" %]</a>
+  [% INCLUDE "opac/parts/topnav_logo.tt2" %]
   <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
     <span class="navbar-toggler-icon"></span>
   </button>
index a631f51..08e7a97 100755 (executable)
@@ -1 +1 @@
-<img id="topnav_logo_image" alt="[% l('Evergreen Logo') %]" src="[% ctx.media_prefix %]/opac/images/small_logo.png[% ctx.cache_key %]" class="mr-2" />
+<a class="navbar-brand" href="/eg/opac/"><img id="topnav_logo_image" alt="[% l('Evergreen Logo') %]" src="[% ctx.media_prefix %]/opac/images/small_logo.png[% ctx.cache_key %]" class="mr-2" /></a>