mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-22 22:29:26 +00:00
Add in the ability to add links to stores/chains.
This commit is contained in:
1
app/stores/templates/stores/link_snippet.html
Normal file
1
app/stores/templates/stores/link_snippet.html
Normal file
@@ -0,0 +1 @@
|
||||
<i class="{{ type_icon }}"></i> <a href="{{ url }}">{{ type_name }}</a>
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user