superdesk/superdesk-client-core

View on GitHub
scripts/apps/archive/views/item-state.html

Summary

Maintainability
Test Coverage
<span
ng-class="state === 'correction' || state === 'being_corrected' && isCorrectionWorkflowEnabled
? state === 'being_corrected' ? 'label label--hollow hollow-pink--500' : 'label pink--500'
: 'state-label state-{{state}}'">{{state|translate|removeLodash}}</span>
<span class="state-label" ng-if="embargo" ng-class="{state_embargo: embargo}" translate>embargo</span>