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
stepUP
Commits
e1a5ea1c
Commit
e1a5ea1c
authored
Nov 23, 2013
by
Daniel W Bond
Browse files
added pagination on the templated and finished with the views
parent
1b16aeec
Changes
4
Hide whitespace changes
Inline
Side-by-side
hackathon/settings/templates/all_opportunity.html
View file @
e1a5ea1c
...
...
@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
hackathon/settings/templates/all_organization.html
View file @
e1a5ea1c
...
...
@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
hackathon/settings/templates/all_person.html
View file @
e1a5ea1c
...
...
@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
hackathon/stepup/views.py
View file @
e1a5ea1c
...
...
@@ -112,6 +112,15 @@ def person(request, slug):
context_instance
=
RequestContext
(
request
),
)
# ux display all thing continued
@
login_required
def
all_person
(
request
):
return
render_to_response
(
'all_person.html'
,
{
all_person
=
Person
.
objects
.
all
(),
},
context_instance
=
RequestContext
(
request
),
)
@
login_required
def
organization
(
request
,
slug
):
return
render_to_response
(
'organization.html'
,
{
...
...
@@ -120,6 +129,15 @@ def organization(request, slug):
context_instance
=
RequestContext
(
request
),
)
# ux display all things continued
@
login_required
def
all_organization
(
request
):
return
render_to_response
(
'all_organization.html'
,
{
all_organization
=
Organization
.
objects
.
all
(),
},
context_instance
=
RequestContext
(
request
),
)
@
login_required
def
search
(
request
):
return
render_to_response
(
'search.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