Changeset 2054

Show
Ignore:
Timestamp:
04/24/08 21:15:49 (19 months ago)
Author:
bchoate
Message:

Allow user to save and publish new templates too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-36/tmpl/cms/edit_template.tmpl

    r2050 r2054  
    158158        ><__trans phrase="Preview"></button> 
    159159    </mt:if> 
    160     <mt:unless name="new_object"> 
    161         <mt:unless name="build_dynamic"> 
    162             <mt:if name="can_rebuild"> 
    163                 <mt:if name="type_index"> 
     160    <mt:unless name="build_dynamic"> 
     161        <mt:if name="can_rebuild"> 
     162            <mt:if name="type_index"> 
    164163    <button 
    165164        type="submit" 
     
    169168        onclick="return validate(this.form, 1);" 
    170169        ><__trans phrase="Save &amp; Publish"></button> 
    171                 </mt:if> 
    172170            </mt:if> 
    173         </mt:unless> 
     171        </mt:if> 
    174172    </mt:unless> 
    175173    <div id="autosave-notification-<$mt:var name="bar_position" default="top"$>" class="autosave-notification"></div>