~teamkarl/karl3/trunk

« back to all changes in this revision

Viewing changes to karl/content/views/wiki.py

  • Committer: Robert Marianski
  • Date: 2011-08-03 19:10:49 UTC
  • Revision ID: svn-v4:4f889dee-8c54-0410-98c1-98789d956ae4:karl/trunk:7108
add trash link to wiki index page submenu navigation

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
 
341
341
    wiki = find_interface(context, IWiki)
342
342
    feed_url = model_url(wiki, request, "atom.xml")
 
343
    repo = find_repo(context)
343
344
    return render_template_to_response(
344
345
        'templates/show_wikitoc.pt',
345
346
        api=api,
347
348
        head_data=client_json_data,
348
349
        feed_url=feed_url,
349
350
        backto=backto,
 
351
        show_trash=repo is not None,
350
352
        )
351
353
 
352
354
class EditWikiPageFormController(object):