diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-19 17:51:45 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-19 17:51:45 +0800 |
commit | 85ceb8b72f5a67d21bc9530fe835fdece98f3d4e (patch) | |
tree | 7d00537f13e661e23b113520e74b0e0e0dc776bf /app/views/projects/repositories | |
parent | 0538e1e934484e76575164314fe8451374e4a4c8 (diff) | |
download | gitlab-ce-85ceb8b72f5a67d21bc9530fe835fdece98f3d4e.tar.gz |
Rename latest_success* to latest_successful:
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13164642
Diffstat (limited to 'app/views/projects/repositories')
-rw-r--r-- | app/views/projects/repositories/_download_archive.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/repositories/_download_archive.html.haml b/app/views/projects/repositories/_download_archive.html.haml index 396fb8598ae..1c03aa0a332 100644 --- a/app/views/projects/repositories/_download_archive.html.haml +++ b/app/views/projects/repositories/_download_archive.html.haml @@ -25,9 +25,9 @@ = link_to archive_namespace_project_repository_path(@project.namespace, @project, ref: ref, format: 'tar'), rel: 'nofollow' do %i.fa.fa-download %span Download tar - - pipeline = @project.latest_success_pipeline_for(ref).first + - pipeline = @project.latest_successful_pipeline_for(ref).first - if pipeline - - artifacts = pipeline.builds.latest_success_with_artifacts + - artifacts = pipeline.builds.latest_successful_with_artifacts - if artifacts.any? %li.dropdown-header Artifacts - unless pipeline.latest? |