Ticket #222: node_image.display_metadata.patch

File node_image.display_metadata.patch, 1.0 KB (added by perigrin, 14 years ago)

patch to display_image.tt to move node_image data

  • display_metadata.tt

    old new  
    44       OR hours_text OR map_link OR categories.size OR locales.size OR
    55       node_image %]
    66<div id="metadata" class="vcard">
    7 [% IF node_image %]
    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>
    24 [% ELSE %]
    25   <span id="node_no_image" />
    26 [% END %]
    277
    288  <!-- For the vcard -->
    299  <span class="fn" style="display:none">[% node_name %]</span>