{{#if canCancel}}
  {{#if cancelling}}
    {{loading-indicator}}
  {{else}}
    <a href="#" {{action "cancel"}} class="button-circle"
       title="Cancel Build">
      <span class="icon icon--cancel"></span>
    </a>
  {{/if}}
{{/if}}

{{#if canRestart}}
  {{#if restarting}}
    {{loading-indicator}}
  {{else}}
    <a href="#" {{action "restart"}} class="button-circle" title="Restart Build">
      <span class="icon icon--trigger"></span>
    </a>
  {{/if}}
{{/if}}
