-# Renders the content of each li in the dropdown-subject=local_assigns.fetch(:subject)-status=subject.detailed_status(current_user)-klass="ci-status-icon ci-status-icon-#{status.group}"-tooltip="#{subject.name} - #{status.label}"-ifstatus.has_details?=link_tostatus.details_path,class: 'mini-pipeline-graph-dropdown-item',data: {toggle: 'tooltip',title: tooltip}do%span{class: klass}=custom_icon(status.icon)%span.ci-build-text=subject.name-else.mini-pipeline-graph-dropdown-item{data: {toggle: 'tooltip',title: tooltip}}%span{class: klass}=custom_icon(status.icon)%span.ci-build-text=subject.name-ifstatus.has_action?=link_tostatus.action_path,class: 'ci-action-icon-wrapper js-ci-action-icon',method: status.action_method,data: {toggle: 'tooltip',title: status.action_title}do