Add in the ability to add links to stores/chains.

This commit is contained in:
2013-04-03 23:14:14 +01:00
parent 850027f50d
commit f30f53204a
10 changed files with 401 additions and 7 deletions

View File

@@ -0,0 +1 @@
<i class="{{ type_icon }}"></i> <a href="{{ url }}">{{ type_name }}</a>

View File

@@ -93,6 +93,9 @@ $(document).ready(function(){initialize_map_store()});
{% if store.website %}<li>Website: <a class="url" target="_new" href="{{ store.website }}">{{ store.website }}</a></li>{% endif %}
{% if store.email %}<li>Email: <a class="email" href="mailto:{{ store.email }}">{{ store.email }}</a></li>{% endif %}
{% if store.phone %}<li>Phone: <span class="tel">{{ store.phone }}</span></li>{% endif %}
{% for link in store.links.all %}
<li>{{ link.to_html|safe }}</li>
{% endfor %}
</ul>
</div>