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/templates/atom_editor/atom_editor.html

    r5116 r5128  
    6060                                ${Markup(h.end_form())} 
    6161                                ${Markup(h.form(h.url_for(controller='atom_editor/editatom', action='delete', uri=c.atom.ndgURI)))} 
    62                                         <input py:if="c.atom.isGranule()" name="Delete" type="submit" value="Delete" onclick="return confirmGranuleDelete()" /> 
     62                                        <input py:if="c.atom.isGranule() and g.atomEditorEnabled" name="Delete" type="submit" value="Delete" onclick="return confirmGranuleDelete()" /> 
    6363                                ${Markup(h.end_form())} 
    6464                        <div py:replace="displayErrors()"/> 
Note: See TracChangeset for help on using the changeset viewer.