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
831829a8
Commit
831829a8
authored
Nov 23, 2013
by
Jean Michel Rouly
Browse files
Fixed organization page bug.
parent
57e8c8d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
hackathon/settings/templates/organization.html
View file @
831829a8
...
...
@@ -68,14 +68,14 @@
<p>
saturday: Available
</p>
{% endif %}
</div>
<div
class=
"col-md-6 text-left"
>
<!--
<div class="col-md-6 text-left">
<h2>Tags</h2>
<p>
{% for tag in requested_tags %}
[{{ tag }}]
{% endfor %}
</p>
</div>
</div>
-->
</div>
</div>
...
...
hackathon/settings/templates/search.html
View file @
831829a8
...
...
@@ -8,3 +8,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
hackathon/stepup/views.py
View file @
831829a8
...
...
@@ -135,7 +135,7 @@ def all_person(request):
def
organization
(
request
,
slug
):
return
render_to_response
(
'organization.html'
,
{
"requested_org"
:
Organization
.
objects
.
get
(
name
=
slug
),
"requested_tags"
:
Organization
.
objects
.
get
(
name
=
slug
).
tags
.
all
(),
#
"requested_tags" : Organization.objects.get(name=slug).tags.all(),
#"global_tags" : Tag.objects.all(),
"global_events"
:
Opportunity
.
objects
.
all
(),
"sunday"
:
len
(
Organization
.
objects
.
get
(
name
=
slug
).
sunday
),
...
...
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