Ignore:
Timestamp:
Oct 19, 2008, 5:41:25 PM (13 years ago)
Author:
Dominic Hargreaves
Message:

Move the node image outside the metadata div, to aid styling
(fixes #222). Thanks peregrin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/display_metadata.tt

    r1095 r1237  
    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 -->
Note: See TracChangeset for help on using the changeset viewer.