Changeset 4230 for TI05-delivery


Ignore:
Timestamp:
24/09/08 15:28:13 (11 years ago)
Author:
cbyrom
Message:

Tidy up + improve formatting of atom view template.

Location:
TI05-delivery/ows_framework/trunk/ows_server/ows_server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/retrieve.py

    r4214 r4230  
    106106                c.atom = Atom(xmlString=str(x), ndgObject = self.uri) 
    107107                c.r = info = self.__mytb('') 
    108                 c.title=x.getText('title') 
    109108                templateType = "genshi" 
    110109 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/atom.html

    r4213 r4230  
    1414                        <div class="headingblock"> 
    1515                                <?python 
    16                                 prefix = c.atom.atomType 
     16                                prefix = c.atom.atomTypeName 
    1717                                        if prefix: 
    1818                                                prefix += ':' 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/atom_functions.html

    r4216 r4230  
    108108                        <div class="linehead"> Online References</div> 
    109109            <ul> 
    110                 <li py:for="link in links"><a href="$link.href">${link.title}</a></li> 
     110                <li py:for="link in links"><a href="$link.href">${link.title or link.rel or link.href}</a></li> 
    111111            </ul> 
    112112        </table> 
     
    188188            <tr><td colspan="2" class="cellhead">Spatial coverage</td></tr> 
    189189            <span py:if="not c.atom.minX and not c.atom.minY and not c.atom.maxX and not c.atom.maxY" py:strip=""> 
    190                     <tr><td colspan="2" align="center">No spatial coverage information available.</td></tr> 
     190                    <tr><td colspan="2">No spatial coverage information available.</td></tr> 
    191191                </span> 
    192192            <span py:if="c.atom.minX or c.atom.minY or c.atom.maxX or c.atom.maxY" py:strip=""> 
Note: See TracChangeset for help on using the changeset viewer.