
<div class="card"
    ng-controller="IssueCtrl as issueCtrl">

  <div class="header">
    <img ng-if="issueCtrl.getAssignedUser()"
         class="avatar"
         title="Assigned to {{issueCtrl.getAssignedUser().login}}"
         ng-src="{{issueCtrl.getAssignedUser().avatar_url}}?s=30" />
    <img ng-if="!issueCtrl.getAssignedUser()"
         class="avatar empty"
         title="Assigned to no one."
         src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=mm&f=y">
    <span class="title" ng-click="showIssueDetails(issue)" >
      {{issueCtrl.issue.title}} {{issueCtrl.issue.config.weight}} {{issueCtrl.issue.number}}
    </span>
  </div>

  <div class="milestone" ng-show="issue.milestone">
    {{issueCtrl.issue.milestone.title}}
  </div>

  <ul class="labels">
    <li ng-if="issueCtrl.isPullRequest()" class="pull">pull</li>
    <!-- Note the use of filter from parent controller in scope -->
    <!-- <li ng-repeat="label in issueCtrl.issue.labels | filter:colCtrl.excludeColLabel" -->
    <li ng-repeat="label in issueCtrl.issue.labels"
        style="background-color: #{{label.color}}">
      {{label.name}}
    </li>
  </ul>
</div>



<div class="card"
    ng-controller="IssueCtrl as issueCtrl">

  <div class="build_header"></div>
  <div class="header">
    <span class="title" ng-click="showIssueDetails(issue)" >
      {{issueCtrl.issue.title}}
    </span>
    <img ng-if="issueCtrl.getAssignedUser()"
         class="avatar"
         title="Assigned to {{issueCtrl.getAssignedUser().login}}"
         ng-src="{{issueCtrl.getAssignedUser().avatar_url}}?s=30" />
    <img ng-if="!issueCtrl.getAssignedUser()"
         class="avatar empty"
         title="Assigned to no one."
         src="http://www.gravatar.com/avatar/00000000000000000000000000000000?d=mm&f=y">
  </div>

  <div class="milestone" ng-show="issue.milestone">
    {{issueCtrl.issue.milestone.title}}
  </div>

  <ul class="labels">
    <li ng-if="issueCtrl.isPullRequest()" class="pull">pull</li>
    <!-- Note the use of filter from parent controller in scope -->
    <!-- <li ng-repeat="label in issueCtrl.issue.labels | filter:colCtrl.excludeColLabel" -->
    <li ng-repeat="label in issueCtrl.issue.labels"
        style="background-color: #{{label.color}}">
      {{label.name}}
    </li>
  </ul>
</div>


Rearrange header for card and add build header to markup.
Rearrange header for card and add build header to markup.
