Use node.properties.status instead of node.status

This commit is contained in:
2018-09-20 19:04:43 +02:00
parent 4ff52a8af0
commit ef8bd8d22b

View File

@@ -6,7 +6,7 @@ include ../../../../../../pillar/src/templates/mixins/components
| {% if node.picture %} | {% if node.picture %}
+jumbotron( +jumbotron(
"{{ node.name }}", "{{ node.name }}",
"{{ node._created | pretty_date }}{% if node.user.full_name %} · {{ node.user.full_name }}{% endif %}{% if node.status != 'published' %} · {{ node.status }}{% endif %}", "{{ node._created | pretty_date }}{% if node.user.full_name %} · {{ node.user.full_name }}{% endif %}{% if node.properties.status != 'published' %} · {{ node.properties.status }}{% endif %}",
"{{ node.picture.thumbnail('h', api=api) }}", "{{ node.picture.thumbnail('h', api=api) }}",
"{{ node.url }}")( "{{ node.url }}")(
class="jumbotron-overlay") class="jumbotron-overlay")