location_grid.html 573 Bytes
Newer Older
1
2
3
{% extends 'base.html' %}

<!-- Grid with restaurants sorted by location -->
Daniel Bond's avatar
Daniel Bond committed
4
<!-- New revisions pending major revisions (whoo JavaScript!) by Tyler -->
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

{% block content %}
<!-- Generated: {% now "jS F Y H:i" %} -->
<div id="grid">
{% for list in restRows %}
    <div class = "row">
        {% for restaurant in list %}
        <div class = "span3 {% if restaurant.isOpen %}open{% else %}closed{% endif %}">      
            {{ restaurant.name }}
        </div>
        {% endfor %}
    </div>
{% empty %}
There aren't any restaurants.
{% endfor %}
</div>

{% endblock %}