<div ng-controller="Kubernetes.BuildConfigController">
  <div class="row">
    <div class="col-md-12">
      <span class="pull-right">&nbsp;</span>
      <a class="btn btn-default pull-right"
              href="{{baseUri}}/kubernetes/buildConfigs"><i class="fa fa-list"></i></a>
      <div class="pull-right" ng-repeat="view in entity.$fabric8Views | orderBy:'label'">
        <a title="{{view.description}}" ng-show="view.url" ng-href="{{view.url}}" class="btn btn-default">
          <i class="{{view.iconClass}}" ng-show="view.iconClass"></i>
          {{view.label}}
        </a>
        <span class="pull-right" ng-show="view.url" >&nbsp;</span>
      </div>
      <span class="pull-right">&nbsp;</span>
      <button class="btn btn-primary pull-right"
         title="Trigger this build"
         ng-disabled="!entity.$triggerUrl"
         ng-click="triggerBuild(entity)"><i class="fa fa-play-circle-o"></i> Trigger</button>
    </div>
  </div>
  <div class="row">
    <div hawtio-breadcrumbs></div>
  </div>
  <div class="row">
    <div class="col-md-12">
      <div ng-hide="model.fetched">
        <div class="align-center">
          <i class="fa fa-spinner fa-spin"></i>
        </div>
      </div>
      <div ng-show="model.fetched">
        <div hawtio-object="entity" config="config"></div>
      </div>
    </div>
  </div>
</div>
