Changeset 885


Ignore:
Timestamp:
Nov 23, 2006, 7:01:40 PM (15 years ago)
Author:
Dominic Hargreaves
Message:

Link image to website and fix TABs (paulm)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/display_metadata.tt

    r849 r885  
    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 website %]<a href="[% website %]">[% END %]
     10      <img id="node_image" src="[% node_image %]" alt="Picture of [% node_name %]" />
     11    [% IF website %]</a>[% END %]
     12  </div>
    1113[% ELSE %]
    12         <span id="node_no_image" />
     14  <span id="node_no_image" />
    1315[% END %]
    1416
Note: See TracChangeset for help on using the changeset viewer.