UI Pages: Only show header div if there is a picture.

This commit is contained in:
Pablo Vazquez 2019-03-29 15:18:49 +01:00
parent 5556bfee52
commit 46bbd1297b

View File

@ -5,14 +5,14 @@ include ../../../mixins/components
| {% block bodyclasses %}{% endblock %}
| {% block body %}
| {% if node.picture %}
.expand-image-links.imgs-fluid
| {% if node.picture %}
+jumbotron(
"{{ node.name }}",
null,
"{{ node.picture.thumbnail('h', api=api) }}",
"{{ node.url }}")
| {% endif %}
| {% endif %}
.container.pb-5
.row