
build header styles 2nd iteration make job header use component too cleanup templates and markup for repo page styles for the repo header rewrite styles for repo header, cleanup tabs
20 lines
440 B
Handlebars
20 lines
440 B
Handlebars
{{#if canCancel}}
|
|
{{#if cancelling}}
|
|
{{loading-indicator height=true}}
|
|
{{else}}
|
|
<a href="#" {{action "cancel"}} class="button-circle-cancel" title="Cancel Job">
|
|
Cancel Job
|
|
</a>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
{{#if canRestart}}
|
|
{{#if restarting}}
|
|
{{loading-indicator height=true}}
|
|
{{else}}
|
|
<a href="#" {{action "restart"}} class="button-circle-trigger" title="Restart Job">
|
|
Restart Job
|
|
</a>
|
|
{{/if}}
|
|
{{/if}}
|