|
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 35-47
Link Here
|
| 35 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
35 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
| 36 |
[% INCLUDE 'masthead.inc' %] |
36 |
[% INCLUDE 'masthead.inc' %] |
| 37 |
|
37 |
|
| 38 |
[% BLOCK library_description %] |
38 |
[% BLOCK library_details %] |
| 39 |
<div property="description"> |
|
|
| 40 |
[% IF OpacLibraryInfo %][% OpacLibraryInfo.content | $raw %][% END %] |
| 41 |
</div> |
| 42 |
[% END %] |
| 43 |
|
| 44 |
[% BLOCK library_info %] |
| 45 |
<div class="branchaddress" property="address" typeof="PostalAddress"> |
39 |
<div class="branchaddress" property="address" typeof="PostalAddress"> |
| 46 |
[% PROCESS 'display-library-address' %] |
40 |
[% PROCESS 'display-library-address' %] |
| 47 |
</div> <!-- /div property=address --> |
41 |
</div> <!-- /div property=address --> |
|
Lines 90-112
Link Here
|
| 90 |
[% END %] |
84 |
[% END %] |
| 91 |
|
85 |
|
| 92 |
[% IF ( library ) %] |
86 |
[% IF ( library ) %] |
| 93 |
<div id="library_info" class="maincontent" vocab="http://schema.org/" typeof="Library"> |
87 |
<div id="library_details" class="maincontent" vocab="http://schema.org/" typeof="Library"> |
| 94 |
<h1 property="name">[% library.branchname | html %]</h1> |
88 |
<h1 property="name">[% library.branchname | html %]</h1> |
| 95 |
<div class="row"> |
89 |
<div class="row"> |
| 96 |
<div class="col-lg-8"> |
90 |
<div class="col-lg-8"> |
| 97 |
[% PROCESS library_info %] |
91 |
[% PROCESS library_details %] |
| 98 |
[% IF ( OpacLibraryInfo ) %] |
92 |
[% IF ( OpacLibraryInfo ) %] |
| 99 |
<div class="library_description"> |
93 |
<hr /> |
| 100 |
<hr /> |
94 |
<div class="library_description" property="description"> |
| 101 |
[% PROCESS library_description %] |
95 |
[% PROCESS koha_news_block news => OpacLibraryInfo %] |
| 102 |
</div> |
96 |
</div> |
| 103 |
[% END %] |
97 |
[% END %] |
| 104 |
</div> |
98 |
</div> |
| 105 |
</div> |
99 |
</div> |
| 106 |
</div> <!-- /#library_info --> |
100 |
</div> <!-- /#library_details --> |
| 107 |
|
101 |
|
| 108 |
[% ELSE %] |
102 |
[% ELSE %] |
| 109 |
<div id="library_info" class="maincontent"> |
103 |
<div id="library_details" class="maincontent"> |
| 110 |
<h1>Libraries</h1> |
104 |
<h1>Libraries</h1> |
| 111 |
[% FOREACH library IN libraries %] |
105 |
[% FOREACH library IN libraries %] |
| 112 |
[% IF ( branchcode == library.branchcode ) %] |
106 |
[% IF ( branchcode == library.branchcode ) %] |
|
Lines 119-128
Link Here
|
| 119 |
[% library.branchname | html %] |
113 |
[% library.branchname | html %] |
| 120 |
</a> |
114 |
</a> |
| 121 |
</h2> |
115 |
</h2> |
| 122 |
[% PROCESS library_info %] |
116 |
[% PROCESS library_details %] |
| 123 |
</div> |
117 |
</div> |
| 124 |
[% END %] |
118 |
[% END %] |
| 125 |
</div> <!-- /#library_info --> |
119 |
</div> <!-- /#library_details --> |
| 126 |
[% END # /IF library %] |
120 |
[% END # /IF library %] |
| 127 |
|
121 |
|
| 128 |
</div> <!-- /.col --> |
122 |
</div> <!-- /.col --> |
| 129 |
- |
|
|