Use node.properties.status instead of node.status
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user