We don't use disabled for repo actions, removing for now

This commit is contained in:
Piotr Sarnacki 2015-01-28 13:21:59 +01:00
parent efa94c9031
commit 8689ba8d81

View File

@ -2,14 +2,12 @@
<ul>
{{#if view.displayCancelBuild}}
<li class="icon cancel-build" title="Cancel Build">
<a href="#" {{action "cancelBuild" target=view}}
{{bind-attr class="view.canCancelBuild::disabled"}}></a>
<a href="#" {{action "cancelBuild" target=view}}></a>
</li>
{{/if}}
{{#if view.displayCancelJob}}
<li class="icon cancel-job" title="Cancel Job">
<a href="#" {{action "cancelJob" target=view}}
{{bind-attr class="view.canCancelJob::disabled"}}></a>
<a href="#" {{action "cancelJob" target=view}}></a>
</li>
{{/if}}
{{#if view.displayRequeueBuild}}
@ -17,8 +15,7 @@
{{#if view.requeueing}}
<span class="icon loading"></span>
{{else}}
<a href="#" {{action "requeueBuild" target=view}}
{{bind-attr class="view.canRequeueBuild::disabled"}}></a>
<a href="#" {{action "requeueBuild" target=view}}></a>
{{/if}}
</li>
{{/if}}
@ -27,8 +24,7 @@
{{#if view.requeueing}}
<span class="icon loading"></span>
{{else}}
<a href="#" {{action "requeueJob" target=view}}
{{bind-attr class="view.canRequeueJob::disabled"}}></a>
<a href="#" {{action "requeueJob" target=view}}></a>
{{/if}}
</li>
{{/if}}
@ -44,8 +40,7 @@
{{#if view.jobIdForLog}}
{{#if view.displayRemoveLog}}
<li class="icon remove-log" title="Remove Log">
<a href="#" name="remove-log-popup" class="open-popup" {{action "removeLogPopup" target=view}}
{{bind-attr class="view.canRemoveLog::disabled"}}></a>
<a href="#" name="remove-log-popup" class="open-popup" {{action "removeLogPopup" target=view}}></a>
</li>
{{/if}}
{{/if}}