diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-15 23:48:43 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-15 23:48:43 +0200 |
commit | 1501b1abc4be78eaa4cb4c28969d9bc59bcf284c (patch) | |
tree | dc82b4b9e0436651e1804c7e0e76d99234c85752 /app/views/projects/buttons | |
parent | d8dfa56e95c794a91c0a1185e5e6c0017e144b25 (diff) | |
download | gitlab-ce-1501b1abc4be78eaa4cb4c28969d9bc59bcf284c.tar.gz |
Fixed bug when a pipeline for latest SHA does not exist
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r-- | app/views/projects/buttons/_download.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_download.html.haml b/app/views/projects/buttons/_download.html.haml index 84135a6d049..a86561ca90b 100644 --- a/app/views/projects/buttons/_download.html.haml +++ b/app/views/projects/buttons/_download.html.haml @@ -22,7 +22,7 @@ - unless pipeline.latest? - latest_pipeline = @project.pipeline_for(@ref) %li - %span= latest_pipeline.status.humanize + %span= ci_status_for_statuseable(latest_pipeline) %li.dropdown-header Previous Artifacts - artifacts.each do |job| %li |