Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
srct.gmu.io
Commits
64cb8020
Commit
64cb8020
authored
Jan 04, 2014
by
Daniel W Bond
Browse files
made the views work with the documents templates
parent
25ec5ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
srctweb/website/views.py
View file @
64cb8020
...
...
@@ -50,3 +50,48 @@ def projects():
return
render_template
(
"projects.html"
,
)
### DOCUMENTS ###
@
website
.
route
(
'/constitution'
)
def
constitution
():
return
render_template
(
"documents/constitution.html"
,
)
@
website
.
route
(
'/intellectual_property'
)
def
intellectualProperty
():
return
render_template
(
"documents/intellectual_property.html"
,
)
@
website
.
route
(
'/logos'
)
def
logos
():
return
render_template
(
"documents/logos.html"
,
)
@
website
.
route
(
'/privacy_policy'
)
def
privacyPolicy
():
return
render_template
(
"documents/privacy_policy.html"
,
)
@
website
.
route
(
'/software_freedom'
)
def
softwareFreedom
():
return
render_template
(
"documents/software_freedom.html"
,
)
@
website
.
route
(
'/terms_of_service'
)
def
termsOfService
():
return
render_template
(
"documents/terms_of_service.html"
,
)
@
website
.
route
(
'/usage_policy'
)
def
usagePolicy
():
return
render_template
(
"documents/usage_policy.html"
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment