mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 05:00:07 -03:30
AC-1040 Model cleanup/refactor, add and use job_explanation field.
This commit is contained in:
@@ -261,7 +261,7 @@ class Project(UnifiedJobTemplate, ProjectOptions):
|
||||
def _get_current_status(self):
|
||||
if self.scm_type:
|
||||
if self.current_update:
|
||||
return 'updating'
|
||||
return 'running'
|
||||
elif not self.last_job:
|
||||
return 'never updated'
|
||||
elif self.last_job_failed:
|
||||
|
||||
Reference in New Issue
Block a user