Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-sci.inc
Owen Leonard 81b2ee0eb0
Bug 32910: (follow-up) Replace v4 icon names with v6
This patch updates icons which are listed as having changed names in
this document:

https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-06-12 11:52:10 -03:00

53 lines
2.1 KiB
HTML

[% USE raw %]
[% USE Koha %]
[% USE AdditionalContents %]
[% PROCESS 'html_helpers.inc' %]
[% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %]
[% SET OpacHeader = AdditionalContents.get( location => "opacheader", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
<div id="wrapper">
<div id="header-region" class="noprint">
<nav class="navbar navbar-expand">
<h1 id="logo">
<a class="navbar-brand" href="/cgi-bin/koha/sci/sci-main.pl">
[% IF ( LibraryNameTitle ) %]
[% LibraryNameTitle | html %]
[% ELSE %]
Koha online
[% END %]
</a>
</h1>
<ul class="navbar-nav ml-auto">
[% IF ( Koha.Preference( 'opaclanguagesdisplay' ) ) %]
<li class="nav-item">
[% INCLUDE 'masthead-langmenu.inc' %]
</li>
[% END # / IF opaclanguagedisplay %]
<li class="nav-item">
<ul class="navbar-nav">
<li class="nav-item">
<a href="/cgi-bin/koha/sci/sci-main.pl" class="nav-link helpModal-trigger" role="button" data-toggle="modal"><i class="fa fa-info-circle fa-icon-black" aria-hidden="true"></i> Help</a></li>
</li>
</ul>
</li>
<li class="nav-item">
<a id="sci_logout" href="/cgi-bin/koha/sci/sci-main.pl?logout.x=1" class="nav-link logout">
<i class="fa-solid fa-right-from-bracket" aria-hidden="true"></i> Log out
</a>
</li>
</ul>
</nav> <!-- /navbar -->
[% IF ( OpacHeader ) %]
<div class="container-fluid">
<div class="row">
<div class="col">
[% PROCESS koha_news_block news => OpacHeader %]
</div>
</div>
</div>
[% END # /IF opacheader %]
</div> <!-- /navbar -->