Commit e02de6e3 authored by Daniel W Bond's avatar Daniel W Bond

added links to the a links that are already part of the legends, because for...

added links to the a links that are already part of the legends, because for some reason those weren't there before; additionally, added the same spacing class as added the majors and detail_building buttons
parent 9c5e0658
......@@ -34,19 +34,28 @@
</div>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center">
<h3>
&middot;
{% for neighbourhood in buildings_by_neighbourhood %}
<a href="#{{ neighbourhood }}">{{ neighbourhood }}</a> &middot;
{% endfor %}
</div>
</div>
{% for neighbourhood, buildings in buildings_by_neighbourhood.items %}
<legend><strong><a name="{{ neighbourhood }}" href="#{{ neighbourhood }}">{{ neighbourhood }}</a></strong></legend>
<div class="row">
{% for building in buildings %}
<div class="col-sm-3 text-center">
<div class="col-md-3 col-sm-6 text-center minor-padding">
<a href="{{ building.get_absolute_url }}" class="btn btn-primary btn-lg btn-block">
{{ building.name }}
</a>
</div>
{% if forloop.counter|divisibleby:4 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %}
......
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