Lines 3-11
Link Here
|
3 |
[% USE Koha %] |
3 |
[% USE Koha %] |
4 |
[% PROCESS 'display-library-address.inc' %] |
4 |
[% PROCESS 'display-library-address.inc' %] |
5 |
[% USE AdditionalContents %] |
5 |
[% USE AdditionalContents %] |
6 |
[% IF library %][% SET OpacLibraryInfo = library.opac_info( lang => lang ) %][% END %] |
|
|
7 |
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
6 |
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
8 |
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
7 |
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %] |
|
|
8 |
[% SET OpacLibraryInfo = AdditionalContents.get( location => "OpacLibraryInfo", lang => lang, library => library.branchcode, blocktitle => 0 ) %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
9 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
<title> |
10 |
<title> |
11 |
[% IF ( library ) %] |
11 |
[% IF ( library ) %] |
Lines 36-46
Link Here
|
36 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
36 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
37 |
[% INCLUDE 'masthead.inc' %] |
37 |
[% INCLUDE 'masthead.inc' %] |
38 |
|
38 |
|
39 |
[% BLOCK library_description %] |
39 |
[% BLOCK library_details %] |
40 |
<div property="description"> [% IF OpacLibraryInfo %][% OpacLibraryInfo.content | $raw %][% END %] </div> |
|
|
41 |
[% END %] |
42 |
|
43 |
[% BLOCK library_info %] |
44 |
<div class="branchaddress" property="address" typeof="PostalAddress"> [% PROCESS 'display-library-address' %] </div> |
40 |
<div class="branchaddress" property="address" typeof="PostalAddress"> [% PROCESS 'display-library-address' %] </div> |
45 |
<!-- /div property=address --> |
41 |
<!-- /div property=address --> |
46 |
[% IF ( library.branchphone ) %] |
42 |
[% IF ( library.branchphone ) %] |
Lines 86-108
Link Here
|
86 |
|
82 |
|
87 |
<div class="[% column_class | html %]"> |
83 |
<div class="[% column_class | html %]"> |
88 |
[% IF ( library ) %] |
84 |
[% IF ( library ) %] |
89 |
<div id="library_info" class="maincontent" vocab="http://schema.org/" typeof="Library"> |
85 |
<div id="library_details" class="maincontent" vocab="http://schema.org/" typeof="Library"> |
90 |
<h1 property="name">[% library.branchname | html %]</h1> |
86 |
<h1 property="name">[% library.branchname | html %]</h1> |
91 |
<div class="row"> |
87 |
<div class="row"> |
92 |
<div class="col-lg-8"> |
88 |
<div class="col-lg-8"> |
93 |
[% PROCESS library_info %] |
89 |
[% PROCESS library_details %] |
94 |
[% IF ( OpacLibraryInfo ) %] |
90 |
[% IF ( OpacLibraryInfo ) %] |
95 |
<div class="library_description"> |
91 |
<hr /> |
96 |
<hr /> |
92 |
<div class="library_description" property="description"> [% PROCESS koha_news_block news => OpacLibraryInfo %] </div> |
97 |
[% PROCESS library_description %] |
|
|
98 |
</div> |
99 |
[% END %] |
93 |
[% END %] |
100 |
</div> |
94 |
</div> |
101 |
</div> |
95 |
</div> |
102 |
</div> |
96 |
</div> |
103 |
<!-- /#library_info --> |
97 |
<!-- /#library_details --> |
104 |
[% ELSE %] |
98 |
[% ELSE %] |
105 |
<div id="library_info" class="maincontent"> |
99 |
<div id="library_details" class="maincontent"> |
106 |
<h1>Libraries</h1> |
100 |
<h1>Libraries</h1> |
107 |
[% SET div_class = "section_library" %] |
101 |
[% SET div_class = "section_library" %] |
108 |
[% FOREACH library IN libraries %] |
102 |
[% FOREACH library IN libraries %] |
Lines 113-123
Link Here
|
113 |
<h2 property="name"> |
107 |
<h2 property="name"> |
114 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> [% library.branchname | html %] </a> |
108 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> [% library.branchname | html %] </a> |
115 |
</h2> |
109 |
</h2> |
116 |
[% PROCESS library_info %] |
110 |
[% PROCESS library_details %] |
117 |
</div> |
111 |
</div> |
118 |
[% END %] |
112 |
[% END %] |
119 |
</div> |
113 |
</div> |
120 |
<!-- /#library_info --> |
114 |
<!-- /#library_details --> |
121 |
[% END # /IF library %] |
115 |
[% END # /IF library %] |
122 |
</div> |
116 |
</div> |
123 |
<!-- /.col --> |
117 |
<!-- /.col --> |
124 |
- |
|
|