Changeset 935 for trunk/templates

Show
Ignore:
Timestamp:
03/14/07 11:22:38 (21 months ago)
Author:
kake
Message:

Make the summary show up in the edit preview, and add a test to make damn sure it does. Closes ticket #182.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit_form.tt

    r928 r935  
    1515[% IF preview_html AND preview_above_edit_box %] 
    1616  <h2>Preview</h2> 
     17  [% IF summary %] 
     18    <div id="summary">[% summary %]</div> 
     19  [% END %] 
    1720  [% INCLUDE display_metadata.tt %] 
    1821  [% preview_html %] 
     
    186189[% IF preview_html AND NOT preview_above_edit_box %] 
    187190  <h2>Preview</h2> 
     191  [% IF summary %] 
     192    <div id="summary">[% summary %]</div> 
     193  [% END %] 
    188194  [% INCLUDE display_metadata.tt %] 
    189195  [% preview_html %]