Changeset 4751


Ignore:
Timestamp:
06/01/09 13:00:13 (11 years ago)
Author:
domlowe
Message:

more template changes

Location:
cows/trunk/cows
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/builder.py

    r4008 r4751  
    9191                break 
    9292        city = spConfig.get('contact.city') 
    93         adminArea = spConfig.get('contact.administrativeArea') 
    94         postalCode = spConfig.get('contact.postalCode') 
     93        adminArea = spConfig.get('contact.administrativearea') #NOTE, this has changed from administrativeArea as configparser has an apparent problem with camelcase. 
     94        postalCode = spConfig.get('contact.postalcode') 
    9595        country = spConfig.get('contact.country') 
    9696        email = spConfig.get('contact.email') 
    9797        phone = spConfig.get('contact.phone') 
    98         fax = spConfig.get('contact.faxcimile') 
    99         onlineResource = spConfig.get('contact.onlineResource') 
     98        fax = spConfig.get('contact.facsimile') 
     99        onlineResource = spConfig.get('contact.onlineresource') 
    100100 
    101101        a = Address(deliveryPoints=address, city=city, 
  • cows/trunk/cows/pylons/templates/wcs_capabilities_1_0_0.xml

    r4740 r4751  
    4242 
    4343  <CoverageOfferingBrief py:def="markupLayer(ds)"> 
    44     <Name py:content="ds.identifier"/> 
     44    <name py:content="ds.identifier"/> 
    4545    <label py:content="ds.titles[0]"/> 
    46     <Abstract py:if="len(ds.abstracts)>0" py:content="ds.abstracts[0]"/> 
     46    <abstract py:if="len(ds.abstracts)>0" py:content="ds.abstracts[0]"/> 
    4747    <SRS py:for="crs in ds.CRSs" py:content="crs"/> 
    4848    <py:for each="bb in ds.boundingBoxes"> 
     
    119119    <!--!TODO:  capability exceptions --> 
    120120    <Exception><Format>text/xml</Format></Exception> 
    121  
     121        </Capability> 
     122        <py:with vars="sm=c.capabilities"> 
    122123    <ContentMetadata py:if="sm.contents is not None"> 
    123124      <Title>Contents</Title> 
     
    126127      </CoverageOfferingBrief> 
    127128    </ContentMetadata> 
    128   </Capability> 
     129        </py:with> 
    129130</WCS_Capabilities> 
  • cows/trunk/cows/pylons/wcs_controller.py

    r4695 r4751  
    7979 
    8080        """ 
    81         self.datasetSummaries=[] 
    8281        ows_controller.addOperation('GetCoverage') 
    8382        ows_controller.addOperation('DescribeCoverage')   
Note: See TracChangeset for help on using the changeset viewer.