diff options
Diffstat (limited to 'shared/classes/build.php')
-rw-r--r-- | shared/classes/build.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/classes/build.php b/shared/classes/build.php index 3d37ec3..9b2decc 100644 --- a/shared/classes/build.php +++ b/shared/classes/build.php @@ -100,6 +100,8 @@ class sql_build extends sql_row_obj { $html.='<span class="status successful">[successful]</span><br/><span class="links"><a href="'.url('download/'.$this->id).'">Download image</a> • <a href="'.url('logs/'.$this->id).'">Build log</a></span>'; } elseif ($status[0] == 'failed') { $html.='<span class="status failed">[failed: '.htmlentities($status[1]).']</span><br/><span class="links"><a href="'.url('logs/'.$this->id.'/failure').'">View output of failed command</a> • <a href="'.url('logs/'.$this->id).'">Build log</a></span>'; + } elseif ($status[0] == 'uploading') { + $html.='<span class="status successful">[uploading]</span><br/><span class="links"><a href="'.url('logs/'.$this->id).'">Build log</a></span>'; } else { throw_exception('Unrecognized build status '.$this->status); } |