forked from GNUsocial/gnu-social
[UI] Fix 'hide_attachments is not defined' error
This commit is contained in:
parent
f264cd6125
commit
b2841cb5fc
@ -21,7 +21,7 @@
|
|||||||
{% include '/'~ other.name ~ '/view.html.twig' with {'vars': other.vars} only %}
|
{% include '/'~ other.name ~ '/view.html.twig' with {'vars': other.vars} only %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% if hide_attachments is not defined and hide_attachments != true %}
|
{% if hide_attachments is not defined %}
|
||||||
<div class="note-attachments">
|
<div class="note-attachments">
|
||||||
{% for attachment in note.getAttachments() %}
|
{% for attachment in note.getAttachments() %}
|
||||||
{% include '/attachments/view.html.twig' with {'attachment': attachment} %}
|
{% include '/attachments/view.html.twig' with {'attachment': attachment} %}
|
||||||
|
Loading…
Reference in New Issue
Block a user