Small check is this partial is used within place
This commit is contained in:
parent
120e63808a
commit
f2eb048f0b
@ -33,10 +33,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if place %}
|
||||||
<li class="LP-ImageGrid__Item LP-ImageGrid__Item--add" title="Bild hinzufügen">
|
<li class="LP-ImageGrid__Item LP-ImageGrid__Item--add" title="Bild hinzufügen">
|
||||||
<a class="LP-Link" href="{% url 'place_image_create' place_id=place.id %}">
|
<a class="LP-Link" href="{% url 'place_image_create' place_id=place.id %}">
|
||||||
<img class="LP-Icon" src="{% static 'icons/plus.svg' %}" />
|
<img class="LP-Icon" src="{% static 'icons/plus.svg' %}" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user