Ignore:
Timestamp:
23/03/09 10:30:47 (10 years ago)
Author:
cbyrom
Message:

Adjust atom links when in editor mode to point to the editor instance

  • and correct these when saving the data so that the links actually

point to the browse service + turn of granule delete function when not
in edit mode + remove duplicated inclusion of badc icon + tidy up
config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/editatom.py

    r5111 r5128  
    552552                    link.rel = rel or "" 
    553553                     
    554                     # adjust href to point to the view, not the edit version 
     554                    # adjust href to point to the browse, not the edit version 
    555555                    link.href = link.href.replace('editAtom', 'view') 
     556                    link.href = link.href.replace(g.server, VTD.BROWSE_SERVER_URL) 
    556557                     
    557558                    logging.debug("Extracted atom info (href:'%s', title:'%s', rel:'%s')" \ 
Note: See TracChangeset for help on using the changeset viewer.