mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-15 15:22:19 +00:00
If no description is available, show a message instead of blank.
This commit is contained in:
@@ -44,7 +44,11 @@
|
|||||||
{% if chain.website %}
|
{% if chain.website %}
|
||||||
<p><b>Website</b>: <a href="{{ chain.website }}" target="_blank">{{ chain.website }}</a></p>
|
<p><b>Website</b>: <a href="{{ chain.website }}" target="_blank">{{ chain.website }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ chain.long_description|markdown }}
|
{% if chain.long_description %}
|
||||||
|
{{ chain.long_description|markdown }}
|
||||||
|
{% else %}
|
||||||
|
<p>No description / write up available for this chain at the moment.</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,11 @@ $(document).ready(function(){initialize_map_store()});
|
|||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span8">
|
<div class="span8">
|
||||||
|
{% if store.long_description %}
|
||||||
{{ store.long_description|markdown }}
|
{{ store.long_description|markdown }}
|
||||||
|
{% else %}
|
||||||
|
<p>No description / write up available for this store at the moment.</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if store.brands.count %}
|
{% if store.brands.count %}
|
||||||
<h3>Brands Stocked</h3>
|
<h3>Brands Stocked</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user