Lines 16-22
Link Here
|
16 |
[% END %] catalog |
16 |
[% END %] catalog |
17 |
</title> |
17 |
</title> |
18 |
[% INCLUDE 'doc-head-close.inc' %] |
18 |
[% INCLUDE 'doc-head-close.inc' %] |
19 |
[% BLOCK cssinclude %][% END %] |
19 |
[% BLOCK cssinclude %] |
|
|
20 |
<style> |
21 |
.section_library { |
22 |
margin-top: 1rem; |
23 |
margin-bottom: 1rem; |
24 |
border: 0; |
25 |
border-bottom: 1px solid rgba(0,0,0,.1); |
26 |
} |
27 |
</style> |
28 |
[% END %] |
20 |
</head> |
29 |
</head> |
21 |
|
30 |
|
22 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
31 |
[% INCLUDE 'bodytag.inc' bodyid='opac-library' bodyclass='scrollto' %] |
Lines 33-45
Link Here
|
33 |
[% PROCESS 'display-library-address' %] |
42 |
[% PROCESS 'display-library-address' %] |
34 |
</div> <!-- /div property=address --> |
43 |
</div> <!-- /div property=address --> |
35 |
[% IF ( library.branchphone ) %] |
44 |
[% IF ( library.branchphone ) %] |
36 |
<p>Phone: <a href="tel:[% library.branchphone | url %]" property="telephone">[% library.branchphone | html %]</a></p> |
45 |
<p class="branchphone">Phone: <a href="tel:[% library.branchphone | url %]" property="telephone">[% library.branchphone | html %]</a></p> |
37 |
[% END %] |
46 |
[% END %] |
38 |
[% IF ( library.branchfax ) %] |
47 |
[% IF ( library.branchfax ) %] |
39 |
<p>Fax: <span property="faxNumber">[% library.branchfax | html %]</span></p> |
48 |
<p class="branchfax">Fax: <span property="faxNumber">[% library.branchfax | html %]</span></p> |
40 |
[% END %] |
49 |
[% END %] |
41 |
[% IF ( library.branchurl ) %] |
50 |
[% IF ( library.branchurl ) %] |
42 |
<p><a href="[% library.branchurl | url %]" property="url">[% library.branchurl | html %]</a></p> |
51 |
<p class="branchurl"><a href="[% library.branchurl | url %]" property="url">[% library.branchurl | html %]</a></p> |
43 |
[% END %] |
52 |
[% END %] |
44 |
[% END %] |
53 |
[% END %] |
45 |
|
54 |
|
Lines 86-93
Link Here
|
86 |
<div class="col-lg-8"> |
95 |
<div class="col-lg-8"> |
87 |
[% PROCESS library_info %] |
96 |
[% PROCESS library_info %] |
88 |
[% IF ( library.opac_info ) %] |
97 |
[% IF ( library.opac_info ) %] |
89 |
<hr /> |
98 |
<div class="library_description"> |
90 |
[% PROCESS library_description %] |
99 |
<hr /> |
|
|
100 |
[% PROCESS library_description %] |
101 |
</div> |
91 |
[% END %] |
102 |
[% END %] |
92 |
</div> |
103 |
</div> |
93 |
<div class="col-lg-4"> |
104 |
<div class="col-lg-4"> |
Lines 96-108
Link Here
|
96 |
<ul class="fa-ul"> |
107 |
<ul class="fa-ul"> |
97 |
[% FOREACH library IN libraries %] |
108 |
[% FOREACH library IN libraries %] |
98 |
[% IF ( branchcode == library.branchcode ) %] |
109 |
[% IF ( branchcode == library.branchcode ) %] |
99 |
<li class="current"> |
110 |
<li id="menu_[% library.branchcode| html %]" class="current"> |
100 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> |
111 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> |
101 |
<i class="fa fa-li fa-map-pin" aria-hidden="true"></i> [% library.branchname | html %] |
112 |
<i class="fa fa-li fa-map-pin" aria-hidden="true"></i> [% library.branchname | html %] |
102 |
</a> |
113 |
</a> |
103 |
</li> |
114 |
</li> |
104 |
[% ELSE %] |
115 |
[% ELSE %] |
105 |
<li> |
116 |
<li id="menu_[% library.branchcode| html %]"> |
106 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> |
117 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]"> |
107 |
<i class="fa fa-li" aria-hidden="true"></i> [% library.branchname | html %] |
118 |
<i class="fa fa-li" aria-hidden="true"></i> [% library.branchname | html %] |
108 |
</a> |
119 |
</a> |
Lines 121-137
Link Here
|
121 |
<h1>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h1> |
132 |
<h1>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h1> |
122 |
|
133 |
|
123 |
[% FOREACH library IN libraries %] |
134 |
[% FOREACH library IN libraries %] |
124 |
<h2 property="name"> |
135 |
<div class="section_library" id="section_[% library.branchcode | html %]"> |
125 |
[% IF ( libraries.count > 1 ) %] |
136 |
<h2 property="name"> |
126 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]">[% library.branchname | html %]</a> |
137 |
[% IF ( libraries.count > 1 ) %] |
127 |
[% ELSE %] |
138 |
<a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]">[% library.branchname | html %]</a> |
128 |
[% library.branchname | html %] |
139 |
[% ELSE %] |
129 |
[% END %] |
140 |
[% library.branchname | html %] |
130 |
</h2> |
141 |
[% END %] |
131 |
[% PROCESS library_info %] |
142 |
</h2> |
132 |
<hr> |
143 |
[% PROCESS library_info %] |
|
|
144 |
</div> |
133 |
[% IF ( libraries.count == 1 ) %] |
145 |
[% IF ( libraries.count == 1 ) %] |
134 |
[% PROCESS library_description %] |
146 |
<div class="library_description"> |
|
|
147 |
[% PROCESS library_description %] |
148 |
</div> |
135 |
[% END %] |
149 |
[% END %] |
136 |
[% END %] |
150 |
[% END %] |
137 |
</div> <!-- /#library_info --> |
151 |
</div> <!-- /#library_info --> |
138 |
- |
|
|