Changed PlaceList description to not cus description < threshold.
This commit is contained in:
parent
8889314d9e
commit
adc0fd4d5e
@ -24,7 +24,13 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Description">
|
||||
<p class="LP-Paragraph">{{place.description|truncatechars:210|truncatewords:-1}}</p>
|
||||
<p class="LP-Paragraph">
|
||||
{% if place.description|length > 210 %}
|
||||
{{place.description|truncatechars:210|truncatewords:-1}}
|
||||
{% else %}
|
||||
{{place.description}}
|
||||
{% endif %}
|
||||
</p>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Icons">
|
||||
<ul class="LP-Icon__List">
|
||||
|
Loading…
Reference in New Issue
Block a user