Changeset 719
- Timestamp:
- 11/11/08 19:10:07 (5 years ago)
- Location:
- trunk/plugins/oforgeplugin/oforge
- Files:
-
- 2 edited
-
templates/wiki_newpage.html (modified) (1 diff)
-
wikinewpage.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/oforgeplugin/oforge/templates/wiki_newpage.html
r69 r719 23 23 <!--! If page_name was passed display the warning message and use a hidden field --> 24 24 <py:choose test=""> 25 <py:when test=" version == None">25 <py:when test="page_name"> 26 26 <h2>Page does not exist</h2> 27 <p>The wiki page <span style="font-weight: bold">${page .name}</span> was not found. Do you want to create it?</p>28 <input type="hidden" name="page" value="${page .name}" /><br/>27 <p>The wiki page <span style="font-weight: bold">${page_name}</span> was not found. Do you want to create it?</p> 28 <input type="hidden" name="page" value="${page_name}" /><br/> 29 29 </py:when> 30 30 <py:otherwise> -
trunk/plugins/oforgeplugin/oforge/wikinewpage.py
r203 r719 52 52 if ''==data.get('action') and 0 == data['latest_version']: 53 53 # show custom newpage for missing pages 54 data.update(self._get_templates_data(req)) 55 template = 'wiki_newpage.html' 54 req.redirect(req.href.newwikipage(req.args['page'])) 56 55 elif 'edit'==data.get('action') and None == data.get('latest_version'): 57 56 # copy the clone page source for new pages with 'clone' parameter
Note: See TracChangeset
for help on using the changeset viewer.
