Start of dev pages
This commit is contained in:
Binary file not shown.
@@ -1729,4 +1729,14 @@ def init_routes(main_bp):
|
||||
'id': mail.template.id,
|
||||
'name': mail.template.name
|
||||
} if mail.template else None
|
||||
})
|
||||
})
|
||||
|
||||
@main_bp.route('/development-wiki')
|
||||
@login_required
|
||||
@require_password_change
|
||||
def development_wiki():
|
||||
if not os.environ.get('MASTER', 'false').lower() == 'true':
|
||||
flash('This page is only available in master instances.', 'error')
|
||||
return redirect(url_for('main.dashboard'))
|
||||
|
||||
return render_template('wiki/base.html')
|
||||
Reference in New Issue
Block a user