Commit 115536fb authored by Regis's avatar Regis

use flags for retry and cancel logic

parent c0e5e69f
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</div> </div>
<div class="cancel-retry-btns inline"> <div class="cancel-retry-btns inline">
<a <a
v-if='pipeline.retry_path' v-if='pipeline.flags.retryable'
class="btn has-tooltip" class="btn has-tooltip"
title="Retry" title="Retry"
rel="nofollow" rel="nofollow"
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<i class="fa fa-repeat"></i> <i class="fa fa-repeat"></i>
</a> </a>
<a <a
v-if='pipeline.cancel_path' v-if='pipeline.flags.cancelable'
class="btn btn-remove has-tooltip" class="btn btn-remove has-tooltip"
title="Cancel" title="Cancel"
rel="nofollow" rel="nofollow"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment