Ignore:
Timestamp:
24/11/08 17:15:57 (11 years ago)
Author:
cbyrom
Message:

Further restructure of codebase - moving datamodels into ndgUtils to allow reuse + create visualise and browse sub structures to better
organise related code. Separate out some inner classes into their own
modules to make more visible.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/lib/base.py

    r4482 r4487  
    5757            c.pageTabs.append(('Results',session['results'])) 
    5858            # make selections tab available once results are shown - to simplify associated business logic 
    59             c.pageTabs.append(('Selections',h.url_for(controller='selectedItems',action='index'))) 
     59            c.pageTabs.append(('Selections', \ 
     60                               h.url_for(controller='visualise/selectedItems', \ 
     61                                         action='index'))) 
    6062             
    61         if 'lastViewed' in session: c.pageTabs.append(('Details',session['lastViewed'])) 
     63        if 'lastViewed' in session: 
     64            c.pageTabs.append(('Details',session['lastViewed'])) 
    6265 
    63         if g.atomEditorEnabled: c.pageTabs.append(('Editor', session.get('currentEditor') or \ 
    64                                                        h.url_for(controller='atom_editor/listatom',action='atomHome'))) 
     66        if g.atomEditorEnabled: 
     67            c.pageTabs.append(('Editor', \ 
     68                               session.get('currentEditor') or \ 
     69                               h.url_for(controller='atom_editor/listatom', \ 
     70                                         action='atomHome'))) 
    6571         
    6672        return _BaseController.__call__(self, environ, start_response) 
Note: See TracChangeset for help on using the changeset viewer.