Adding in UI for cancel anytime.
This commit is contained in:
parent
f6fe9023a4
commit
2fe74e4057
11 changed files with 31 additions and 25 deletions
|
@ -440,6 +440,8 @@ def build_status_badge(namespace_name, repo_name):
|
|||
status_name = 'ready'
|
||||
elif recent_build and recent_build.phase == 'error':
|
||||
status_name = 'failed'
|
||||
elif recent_build and recent_build.phase == 'cancelled':
|
||||
status_name = 'cancelled'
|
||||
elif recent_build and recent_build.phase != 'complete':
|
||||
status_name = 'building'
|
||||
else:
|
||||
|
|
Reference in a new issue