Changeset 4557 for MILK


Ignore:
Timestamp:
08/12/08 09:32:04 (11 years ago)
Author:
cbyrom
Message:

Small tidyups of editor look and feel.

Location:
MILK/trunk/milk_server/milk_server/templates/atom_editor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_editor.html

    r4535 r4557  
    2929                                        var urls = ['$c.dataEntitiesURL']; 
    3030                        </script> 
    31                         <script type="text/javascript" src="$g.server/js/adddomloadevent.js"/> 
    3231                        <script type="text/javascript" src="$g.server/js/queueDeployments.js"/> 
    3332                </span> 
     
    6362                        <div py:if="c.atom.isDE()" py:replace="Associations('Associated Deployments', c.atom.getLinksOfType(g.vtd.DEPLOYMENT_TERM), c.addDeploymentLink, c.saveAssoc)"/> 
    6463                        <div class="metadataSection" py:if="c.atom.isDeployable() or c.atom.isGranule()"> 
    65                                 <div class="headingblock" id="dataEntitiesPlaceholder" /> 
     64                                <div id="dataEntitiesPlaceholder" /> 
    6665                            </div> 
    6766                        <div class="metadataSection" py:if="c.atom.isDeployable()"> 
    68                                 <div class="headingblock" id="deploymentsPlaceholder" /> 
     67                                <div id="deploymentsPlaceholder" /> 
    6968                            </div> 
    7069                                <span py:if="c.atom.isDE() or c.atom.isGranule()" py:strip=""> 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_functions.html

    r4535 r4557  
    391391         
    392392    <div py:def="FullDeployment(dep)" py:strip=""> 
    393                 <tr class="cellhead" colspan="2"><td> Start Date: $dep.startDate, End Date: $dep.endDate</td></tr> 
     393                <tr class="cellhead" colspan="2"><td> Start Date: ${dep.startDate or 'None'}, End Date: ${dep.endDate or 'None'}</td></tr> 
    394394        <tr py:for="link in dep.getAllLinks()" > 
    395395        <?python 
Note: See TracChangeset for help on using the changeset viewer.