Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-26 20:48:27 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-26 20:54:00 +0300
commita31053af3d3efdcf03da1115452aadd2927a9f83 (patch)
tree4995a3afda73476ea78cefd5f4f63f1d8e3d0b9a /app/views/projects/builds/_sidebar.html.haml
parentb7f66d1af1b4759d2fd11e820e43454d57ad84fd (diff)
Align header items; put retry button back in sidebar on mobile
Diffstat (limited to 'app/views/projects/builds/_sidebar.html.haml')
-rw-r--r--app/views/projects/builds/_sidebar.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index 2835206ccfa..b1053028279 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -43,6 +43,8 @@
.block{ class: ("block-first" if !@build.coverage && !(can?(current_user, :read_build, @project) && (@build.artifacts? || @build.artifacts_expired?))) }
.title
Build details
+ - if can?(current_user, :update_build, @build) && @build.retryable?
+ = link_to "Retry", retry_namespace_project_build_path(@project.namespace, @project, @build), class: 'pull-right retry-link', method: :post
- if @build.merge_request
%p.build-detail-row
%span.build-light-text Merge Request: