Commit cf386084 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use button groups in build summary for consistency

parent 73fadded
...@@ -113,7 +113,8 @@ ...@@ -113,7 +113,8 @@
%h4.title %h4.title
Build ##{@build.id} Build ##{@build.id}
- if can?(current_user, :update_build, @project) - if can?(current_user, :update_build, @project)
.pull-right .center
.btn-group{ role: :group }
- if @build.cancel_url - if @build.cancel_url
= link_to "Cancel", @build.cancel_url, class: 'btn btn-sm btn-danger', method: :post = link_to "Cancel", @build.cancel_url, class: 'btn btn-sm btn-danger', method: :post
- elsif @build.retry_url - elsif @build.retry_url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment