{% if (scope === 'container') { %}
{% } else if (scope === 'entity') { %} {% var image = (_.has(model, globals.meta.modelImageAttribute) && _.size(model[globals.meta.modelImageAttribute])) ? _.first(model[globals.meta.modelImageAttribute]) : (_.has(model, 'url') ? model : null); %}
{% if (image) { %}
{% } %}
{{ model[globals.meta.modelLabelAttribute] }}
{% } %}