Changeset 3097


Ignore:
Timestamp:
07/09/06 12:47:27 (7 years ago)
Author:
moschny
Message:

Change the target of the 'edit' link for a toc page to the edit action
of that page. Thanks to Michel Jouvin (jouvin AT lal DOT in2p3 DOT fr)
for the hint.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/plugins/tracnav/tracnav/tracnav.py

    r3095 r3097  
    5656""" 
    5757__id__        = '$Id$' 
    58 __version__   = '3.92pre4' 
     58__version__   = '3.92pre5' 
    5959__revision__  = '$LastChangedRevision$' 
    6060 
     
    275275 
    276276        if (not preview) and req.hdf.getValue('trac.acl.WIKI_MODIFY', ''): 
    277             out.write('%s<div class="edit"><a href="%s?edit=yes">edit</a></div>\n' % \ 
     277            out.write('%s<div class="edit"><a href="%s?action=edit">edit</a></div>\n' % \ 
    278278                    (self.i(col), self.env.href.wiki(name))) 
    279279        out.write('%s<ul>\n' % self.i(col)) 
Note: See TracChangeset for help on using the changeset viewer.