<div class="listing-ct-head">
    <div class="listing-ct-actions">
        <button title="Delete" class="deployment-delete btn btn-danger btn-delete pficon pficon-delete delete-entity "
            ng-click="deleteItem(item)"></button>
    </div>
    <ul class="nav nav-tabs nav-tabs-pf">
        <li ng-class="{active: tab('main')}">
            <a ng-click="tab('main', $event)" translate>Deployment Config</a></li>
        <li ng-class="{active: tab('template')}" ng-if="item.spec.template">
            <a ng-click="tab('template', $event)" translate>Template</a></li>
    </ul>
</div>
<div class="listing-ct-body" deploymentconfig-body ng-show="tab('main')"></div>
<div class="listing-ct-body" ng-show="tab('template')" ng-if="item.spec.template">
    <kube-pod-body ng-init="pod = item.spec.template">
    </kube-pod-body>
    <kube-container-body ng-repeat="container in containers(item.spec.template)">
    </kube-container-body>
</div>
