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