Ignore:
Timestamp:
Aug 24, 2006, 5:08:03 PM (15 years ago)
Author:
nick
Message:

Display the node image if there is one, or an empty span if not. (there can't be a node image if node images are disabled). closes #135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/display_metadata.tt

    r811 r843  
    33
    44<div id="metadata" class="vcard">
     5[% IF node_image %]
     6        <div id="node_image_box">
     7                <img id="node_image" src="[% node_image %]" alt="Picture of [% node_name %]" />
     8        </div>
     9[% ELSE %]
     10        <span id="node_no_image" />
     11[% END %]
     12
    513  <!--- For the vcard --->
    614  <span class="fn" style="display:none">[% node_name %]</span>
Note: See TracChangeset for help on using the changeset viewer.