Ignore:
Timestamp:
Apr 27, 2012, 7:04:12 PM (10 years ago)
Author:
kake
Message:

Make sure node image shows up on edit preview.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/node.tt

    r1365 r1370  
    4949[% END %]
    5050
    51 [% IF node_image %]
    52   <div id="node_image_box">
    53     [% IF node_image_url %]<a href="[% node_image_url %]">[% END %]
    54     <img id="node_image" src="[% node_image %]"
    55          alt="Picture of [% node_name %]" />
    56     [% IF node_image_url %]</a>[% END %]
    57     [% IF node_image_copyright %]
    58       <div id="node_image_copyright">
    59         [% IF node_image_licence %]
    60           <a href="[% node_image_licence %]">&copy;
    61             [% node_image_copyright %]</a>
    62         [% ELSE %]
    63           &copy; [% node_image_copyright %]
    64         [% END %]
    65       </div>
    66     [% END %]
    67   </div>
    68 [% ELSE %]
    69   <span id="node_no_image" />
    70 [% END %]
     51[% INCLUDE node_image.tt %]
    7152
    7253<div id="node_title">
Note: See TracChangeset for help on using the changeset viewer.