Commit 831829a8 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Fixed organization page bug.

parent 57e8c8d4
......@@ -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>
......
......@@ -8,3 +8,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment