Ignore:
Timestamp:
Jun 12, 2007, 11:39:09 PM (14 years ago)
Author:
Dominic Hargreaves
Message:

Sync with 0.60 templates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/oxford.openguides.org/templates/display_metadata.tt

    r1074 r1076  
    66<div id="metadata" class="vcard">
    77[% IF node_image %]
    8         <div id="node_image_box">
    9                 <img id="node_image" src="[% node_image %]" alt="Picture of [% node_name %]" />
    10         </div>
     8  <div id="node_image_box">
     9    [% IF node_image_url %]<a href="[% node_image_url %]">[% END %]
     10    <img id="node_image" src="[% node_image %]"
     11         alt="Picture of [% node_name %]" />
     12    [% IF node_image_url %]</a>[% END %]
     13    [% IF node_image_copyright %]
     14      <div id="node_image_copyright">
     15        [% IF node_image_licence %]
     16          <a href="[% node_image_licence %]">&copy;
     17            [% node_image_copyright %]</a>
     18        [% ELSE %]
     19          &copy; [% node_image_copyright %]
     20        [% END %]
     21      </div>
     22    [% END %]
     23  </div>
    1124[% ELSE %]
    12         <span id="node_no_image" />
     25  <span id="node_no_image" />
    1326[% END %]
    1427
    15   <!--- For the vcard --->
     28  <!-- For the vcard -->
    1629  <span class="fn" style="display:none">[% node_name %]</span>
    1730[% IF phone OR fax OR address OR postcode OR formatted_website_text
     
    2134    [% IF phone %]
    2235      <li class="telephone">
    23         <span class="metadata_label">Telephone (area code 01865 if omitted):</span> <span class="tel">[% CGI.escapeHTML(phone) %]</span>
     36        <span class="metadata_label">Telephone (01865 if omitted):</span> <span class="tel">[% CGI.escapeHTML(phone) %]</span>
    2437      </li>
    2538    [% END %]
    2639    [% IF fax %]
    2740      <li class="fax">
    28         <span class="metadata_label">Fax: (area code 01865 if omitted)</span> [% CGI.escapeHTML(fax) %]
     41        <span class="metadata_label">Fax (01865 if omitted):</span> [% CGI.escapeHTML(fax) %]
    2942      </li>
    3043    [% END %]
     
    3649          <a href="[% map_link %]">(map of this place)</a>
    3750        [% ELSIF os_x AND os_y %]
    38           <a href="http://www.streetmap.co.uk/streetmap.dll?grid2map?[% os_x %]
    39 &amp;[% os_y %]&amp;arrow=yes">(map of this place)</a>
    40 
     51          <a href="http://www.streetmap.co.uk/streetmap.dll?grid2map?[% os_x %]&amp;[% os_y %]&amp;arrow=yes">(map of this place)</a>
    4152        [% END %]
    4253      </li>
     
    4455      <li class="map">
    4556        <span class="metadata_label"><a href="[% map_link %]">Map of this place</a></span>
     57      </li>
     58    [% ELSIF os_x AND os_y %]
     59      <li class="map">
     60        <span class="metadata_label"><a href="http://www.streetmap.co.uk/streetmap.dll?grid2map?[% os_x %]&amp;[% os_y %]&amp;arrow=yes">(map of this place)</a></span>
    4661      </li>
    4762    [% END %]
Note: See TracChangeset for help on using the changeset viewer.