UI Pages: Hide title if there is an image.
This commit is contained in:
parent
1171a8e437
commit
7f12c9b4ad
@ -12,7 +12,7 @@ include ../../../mixins/components
|
|||||||
+nav-secondary-link(
|
+nav-secondary-link(
|
||||||
href="{{ url_for('nodes.edit', node_id=node._id) }}")
|
href="{{ url_for('nodes.edit', node_id=node._id) }}")
|
||||||
i.pi-edit.pr-2
|
i.pi-edit.pr-2
|
||||||
span Edit Post
|
span Edit Page
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if node.picture %}
|
| {% if node.picture %}
|
||||||
@ -22,8 +22,7 @@ include ../../../mixins/components
|
|||||||
null,
|
null,
|
||||||
"{{ node.picture.thumbnail('h', api=api) }}",
|
"{{ node.picture.thumbnail('h', api=api) }}",
|
||||||
"{{ node.url }}")
|
"{{ node.url }}")
|
||||||
| {% endif %}
|
| {% else %}
|
||||||
|
|
||||||
.container.pt-5
|
.container.pt-5
|
||||||
.row
|
.row
|
||||||
.col-12.text-center
|
.col-12.text-center
|
||||||
@ -31,6 +30,7 @@ include ../../../mixins/components
|
|||||||
| {{ node.name }}
|
| {{ node.name }}
|
||||||
|
|
||||||
hr.pb-2
|
hr.pb-2
|
||||||
|
| {% endif %}
|
||||||
|
|
||||||
.container.pb-5
|
.container.pb-5
|
||||||
.row
|
.row
|
||||||
|
Loading…
x
Reference in New Issue
Block a user