1 <div id="content-wrapper">
2 <div id="main-content" class="content-wrapper-library-page" vocab="http://schema.org/" typeof="Library">
3 <h1 property="name">[% ctx.library.name | html %]</h1>
6 lib_url = ctx.get_org_setting(ctx.library.id, 'lib.info_url');
8 '<div id="library-url"><a href="'; lib_url | url; '" property="url">'; l('Library web site'); '</a></div>';
13 [%- INCLUDE "opac/parts/library/hours.tt2"; %]
16 [%- IF (ctx.library.email OR ctx.library.phone); %]
17 <h2 id="contact-info">[% l('Contact information') %]</h2>
18 [%- IF ctx.library.email; %]
19 <div>[% l('Email address: ') %]<a href="mailto:[% ctx.library.email | html %]" property="email">[% ctx.library.email | html %]</a></div>
21 [%- IF ctx.library.phone; %]
22 <div>[% l('Telephone: ') %]<a href="tel:[% ctx.library.phone | html %]" property="telephone">[% ctx.library.phone | html %]</a></div>
26 [%- IF ctx.library.mailing_address; %]
28 <div id="mailing" property="location address" typeof="PostalAddress">
29 <h3 property="contactType">[% l('Mailing address') %]</h3>
30 <span property="streetAddress">[% ctx.mailing_address.street1 | html %]
31 [%- IF ctx.mailing_address.street2; "<br />"; ctx.mailing_address.street2 | html; END; %]
33 <span property="addressLocality">[% ctx.mailing_address.city | html %]</span><br />
34 <span property="addressRegion">[% ctx.mailing_address.state | html %]</span><br />
35 <span property="addressCountry">[% ctx.mailing_address.country | html %]</span><br />
36 <span property="postalCode">[% ctx.mailing_address.post_code | html %]</span><br />
41 [%- IF ctx.library.parent_ou; %]
42 <h2>Branch relationship</h2>
43 <div id="branch-info">[% l('Parent library: ') %]
44 <a property="branchOf" href="[% mkurl(ctx.opac_root _ '/library/' _ ctx.parent.shortname, {}, 1) %]">[% ctx.parent.name | html %]</a>
48 <div class="common-full-pad"></div>