prevent aggregation during review
</li>
{% endif %}
<li id="content-type-separator" role="separator" class="divider"></li>
- {% if page.perms.change and resource_edit_mode and cm.resource_type == "CompositeResource" and not cm.raccess.published %}
+ {% if page.perms.change and resource_edit_mode and cm.resource_type == "CompositeResource" and not cm.raccess.published_or_review_pending %}
{# ADD METADATA TO A FILE #}
<li id="btn-set-generic-file-type" data-fb-action="setGenericFileType">
<i class="fa fa-plus icon-green" aria-hidden="true"></i>
