group_hdri: show unpublished children for current user.

Previously you weren't even allowed to see your own "pending" items.
This commit is contained in:
Sybren A. Stüvel 2017-03-28 14:07:09 +02:00
parent 6001f1936c
commit 8330488c0a

View File

@ -24,7 +24,7 @@
| {% if children %}
| {% for child in children %}
| {% if child.properties.status == 'published' %}
| {% if child.properties.status == 'published' or child.user == current_user.objectid %}
a.list-node-children-container(
href="#",