mirror of
https://github.com/nikdoof/vapemap.git
synced 2025-12-14 14:52:16 +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 %}
|
||||
<p><b>Website</b>: <a href="{{ chain.website }}" target="_blank">{{ chain.website }}</a></p>
|
||||
{% 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>
|
||||
|
||||
|
||||
@@ -50,7 +50,11 @@ $(document).ready(function(){initialize_map_store()});
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span8">
|
||||
{% if store.long_description %}
|
||||
{{ store.long_description|markdown }}
|
||||
{% else %}
|
||||
<p>No description / write up available for this store at the moment.</p>
|
||||
{% endif %}
|
||||
|
||||
{% if store.brands.count %}
|
||||
<h3>Brands Stocked</h3>
|
||||
|
||||
Reference in New Issue
Block a user