2018-12-14 01:58:59 +00:00
|
|
|
{% extends "GeoffreyApp/base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>Shops</h1>
|
2018-12-15 21:12:17 +00:00
|
|
|
|
2018-12-14 01:58:59 +00:00
|
|
|
{% if shop_list %}
|
|
|
|
<ul>
|
|
|
|
{% for shop in shop_list %}
|
|
|
|
<li>
|
|
|
|
{{ shop.name }} {{ shop.owner }} {{ shop.x_coord }} {{ shop.z_coord }}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% else %}
|
|
|
|
<p>There are no shops in the database :pepethonk:</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|