Don't show prices for travel and accommodation if not authenticated

This commit is contained in:
Edward Betts 2024-03-05 08:01:17 +01:00
parent 0e7a4c2386
commit 7d5cfe859a

View file

@ -144,7 +144,7 @@
country code <strong>{{ item.country }}</strong> not found
</span>
{% endif %}
{% if item.price and item.currency %}
{% if g.user.is_authenticated and item.price and item.currency %}
| <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
{% endif %}
</p>
@ -170,7 +170,7 @@
country code <strong>{{ item.country }}</strong> not found
</span>
{% endif %}
{% if item.price and item.currency %}
{% if g.user.is_authenticated and item.price and item.currency %}
| <span class="badge bg-info text-nowrap">price: {{ item.price }} {{ item.currency }}</span>
{% endif %}
</p>