<div class="row">
    <div class="col-sm-6">
        <dl>
            <dt ng-if="settings.flavor == 'openshift'" translate>Project</dt>
            <dt ng-if="settings.flavor != 'openshift'" translate>Namespace</dt>
            <dd>{{ item.metadata.namespace }}</dd>
            <dt translate>Created</dt>
            <dd title="{{ item.metadata.creationTimestamp }}">{{ item.metadata.creationTimestamp | dateRelative }}</dd>
            <dt translate>Replicas</dt>
            <dd>{{ item.spec.replicas }}</dd>

            <dt ng-if="item.spec.strategy.type" translate>Strategy</dt>
            <dd ng-if="item.spec.strategy.type">{{item.spec.strategy.type}}</dd>

            <dt translate>Latest Version</dt>
            <dd ng-if="item.status.latestVersion">{{ item.status.latestVersion }}</dd>
            <dd ng-if="!item.status.latestVersion" translate>Not deployed</dd>
        </dl>
    </div>
    <div class="col-sm-6">
        <dl class="full-width">
            <dt translate ng-if="item.status.details">Deployment Causes</dt>
            <dd ng-if="item.status.details.message">{{ item.status.details.message }}</dd>
            <dd ng-repeat="cause in item.status.details.causes">
                {{ cause.type }}
                <span ng-if="cause.imageTrigger.from">
                - {{ cause.imageTrigger.from.name }}
                <span>
            </dd>
        </dl>
        <dl class="full-width">
            <dt translate ng-if="item.spec.triggers">Triggers</dt>
            <dd class="full" ng-repeat="trigger in item.spec.triggers">
                {{ trigger.type }}
                <span ng-if="trigger.imageChangeParams.from">
                - {{ trigger.imageChangeParams.from.name }}
                </span>
            </dd>
        </dl>
        <dl class="full-width">
            <dt translate>Labels</dt>
            <dd ng-if="!item.metadata.labels">none</span>
            <dd ng-repeat="(key, value) in item.metadata.labels">{{key}}={{value}}</dd>
        </dl>
    </div>
</div>
