Commit 27c3a871 authored by Katarzyna Kobierska's avatar Katarzyna Kobierska

Moved build tabs partial to shared

parent b1016a35
......@@ -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?
......
......@@ -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)
......
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