Skip to content
Snippets Groups Projects
Commit 27c3a871 authored by Katarzyna Kobierska's avatar Katarzyna Kobierska
Browse files

Moved build tabs partial to shared

parent b1016a35
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,7 +5,7 @@
 
.top-area
- build_path = ->(scope) { admin_builds_path(scope: scope) }
= render "projects/builds/tabs", build_path: build_path, all_builds: @all_builds, scope: @scope
= render "shared/builds_tabs", build_path: build_path, all_builds: @all_builds, scope: @scope
 
.nav-controls
- if @all_builds.running_or_pending.any?
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
%div{ class: container_class }
.top-area
- build_path = ->(scope) { project_builds_path(@project, scope: scope) }
= render "tabs", build_path: build_path, all_builds: @all_builds, scope: @scope
= render "shared/builds_tabs", build_path: build_path, all_builds: @all_builds, scope: @scope
 
.nav-controls
- if can?(current_user, :update_build, @project)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment