Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
27c3a871
Commit
27c3a871
authored
Sep 07, 2016
by
Katarzyna Kobierska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved build tabs partial to shared
parent
b1016a35
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/admin/builds/index.html.haml
app/views/admin/builds/index.html.haml
+1
-1
app/views/projects/builds/index.html.haml
app/views/projects/builds/index.html.haml
+1
-1
app/views/shared/_builds_tabs.html.haml
app/views/shared/_builds_tabs.html.haml
+0
-0
No files found.
app/views/admin/builds/index.html.haml
View file @
27c3a871
...
...
@@ -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?
...
...
app/views/projects/builds/index.html.haml
View file @
27c3a871
...
...
@@ -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
)
...
...
app/views/
projects/builds/
_tabs.html.haml
→
app/views/
shared/_builds
_tabs.html.haml
View file @
27c3a871
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment