Changeset 5215 for MILK


Ignore:
Timestamp:
21/04/09 16:18:15 (10 years ago)
Author:
cbyrom
Message:

Remove Summary property and just use the simpler 'summary' single
string field.

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

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py

    r5209 r5215  
    367367            # explicitly for htmlfill to use 
    368368            self.inputs['Content'] = c.atom.Content 
    369             self.inputs['Summary'] = c.atom.Summary 
     369            self.inputs['summary'] = c.atom.summary 
    370370            self.inputs['lineage'] = c.atom.ME.lineage 
    371371            self.inputs['quality'] = c.atom.ME.quality 
  • MILK/trunk/milk_server/milk_server/templates/atom_editor/atom_editor.html

    r5210 r5215  
    7272                <div py:replace="GeneralInfo(c.saveLink)"/> 
    7373                <div py:if="c.atom.isGranule() and not c.atom.contentFile" py:replace="UploadCSMLOrCDMLFileForm(c.saveLink)"/> 
    74                 <div py:if="not c.atom.isDeployment() and not c.atom.isGranule()" py:replace="TextArea('Summary', c.atom.Summary, c.saveLink, g.atom_summary)"/> 
     74                <div py:if="not c.atom.isDeployment() and not c.atom.isGranule()" py:replace="TextArea('summary', c.atom.summary, c.saveLink, g.atom_summary, title='Summary')"/> 
    7575                <div py:if="not c.atom.isDeployment() and not c.atom.isGranule()" py:replace="TextArea('Content', c.atom.Content, c.saveLink, g.atom_content)"/> 
    7676                <div py:if="c.atom.isDE()" py:replace="TextArea('lineage', c.atom.ME.lineage, c.saveLink, g.atom_lineage, title='Lineage')"/> 
Note: See TracChangeset for help on using the changeset viewer.