Changeset 2854


Ignore:
Timestamp:
29/08/07 13:00:34 (12 years ago)
Author:
spascoe
Message:

Wired the Visualise tab to a controller/template. It doesn't do much yet.

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

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/config/routing.py

    r2802 r2854  
    4242    map.connect('selection',controller='selection',action='index') 
    4343    map.connect('expand/:uri',controller='selection',action='expand') 
     44    map.connect('visualise', controller='visualise', action='index') 
    4445 
    4546    # This route doesn't match the controller's parameters. 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/tabs.py

    r2853 r2854  
    3232            c.current='Display' 
    3333            c.pageTabs.append(('Selections',h.url_for(controller='selection',action='index'))) 
    34             c.pageTabs.append(('Visualise','Blah')) 
     34            c.pageTabs.append(('Visualise',h.url_for(controller='visualise', action='index'))) 
    3535            c.pageTabs.append(('Download','Blah')) 
    3636        return render_response('ndgPage',fragment=True) 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/lib/base.py

    r2853 r2854  
    5252        if 'selection' in session: 
    5353            c.pageTabs.append(('Selections',h.url_for(controller='selection',action='index'))) 
    54             c.pageTabs.append(('Visualise','Blah')) 
     54            c.pageTabs.append(('Visualise',h.url_for(controller='visualise', action='index'))) 
    5555            c.pageTabs.append(('Download','Blah')) 
    5656 
Note: See TracChangeset for help on using the changeset viewer.