Changeset 4215


Ignore:
Timestamp:
22/09/08 11:34:56 (11 years ago)
Author:
cbyrom
Message:

Fix templates to display deployment url if title not available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/atom_functions.html

    r4213 r4215  
    9292                                rel = "Data Production Tool" 
    9393        ?> 
    94         <td>$rel</td><td><a href="$link.url">$link.title</a></td> 
     94        <td>$rel</td><td><a href="$link.url">${link.title or link.url}</a></td> 
    9595        </tr> 
    9696    </div> 
     
    187187        <table> 
    188188            <tr><td colspan="2" class="cellhead">Spatial coverage</td></tr> 
    189             <!--! Check to see if we're dealing with an Envelope --> 
    190189            <span py:if="not c.atom.minX and not c.atom.minY and not c.atom.maxX and not c.atom.maxY" py:strip=""> 
    191190                    <tr><td colspan="2" align="center">No spatial coverage information available.</td></tr> 
    192191                </span> 
    193192            <span py:if="c.atom.minX or c.atom.minY or c.atom.maxX or c.atom.maxY" py:strip=""> 
    194                 <tr><td colspan="2" align="center">${c.atom.maxY}</td></tr> 
    195         <tr><td align="center">${c.atom.minX}</td><td align="center">${c.atom.maxX}</td></tr> 
    196         <tr><td colspan="2" align="center">${c.atom.minY}</td></tr> 
     193                                <tr><td colspan="2" align="center">${c.atom.maxY}</td></tr> 
     194                        <tr><td align="center">${c.atom.minX}</td><td align="center">${c.atom.maxX}</td></tr> 
     195                        <tr><td colspan="2" align="center">${c.atom.minY}</td></tr> 
    197196                </span> 
    198197        </table>  
Note: See TracChangeset for help on using the changeset viewer.