|
|
|
@ -5,7 +5,7 @@ from pyramid.view import view_config
@@ -5,7 +5,7 @@ from pyramid.view import view_config
|
|
|
|
|
@view_config( |
|
|
|
|
context='ordr2.resources.Root', |
|
|
|
|
permission='view', |
|
|
|
|
renderer='../templates/pages/welcome.jinja2' |
|
|
|
|
renderer='ordr2:templates/pages/welcome.jinja2' |
|
|
|
|
) |
|
|
|
|
def welcome(context, request): |
|
|
|
|
return {} |
|
|
|
@ -15,7 +15,7 @@ def welcome(context, request):
@@ -15,7 +15,7 @@ def welcome(context, request):
|
|
|
|
|
context='ordr2.resources.Root', |
|
|
|
|
name='faq', |
|
|
|
|
permission='view', |
|
|
|
|
renderer='../templates/pages/faq.jinja2' |
|
|
|
|
renderer='ordr2:templates/pages/faq.jinja2' |
|
|
|
|
) |
|
|
|
|
def faqs(context, request): |
|
|
|
|
context.nav_highlight = 'faq' |
|
|
|
|