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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
08274557
Commit
08274557
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move branch list info tags out of main link
parent
7128756d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+10
-10
No files found.
app/views/projects/branches/_branch.html.haml
View file @
08274557
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
%div
%div
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
branch
.
name
)
do
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
branch
.
name
)
do
%strong
.str-truncated
=
branch
.
name
%strong
.str-truncated
=
branch
.
name
-
if
branch
.
name
==
@repository
.
root_ref
-
if
branch
.
name
==
@repository
.
root_ref
%span
.label.label-primary
default
%span
.label.label-primary
default
-
elsif
@repository
.
merged_to_root_ref?
branch
.
name
-
elsif
@repository
.
merged_to_root_ref?
branch
.
name
%span
.label.label-info.has_tooltip
(
title=
"Merged into #{@repository.root_ref}"
)
%span
.label.label-info.has_tooltip
(
title=
"Merged into #{@repository.root_ref}"
)
merged
merged
-
if
@project
.
protected_branch?
branch
.
name
-
if
@project
.
protected_branch?
branch
.
name
%span
.label.label-success
%span
.label.label-success
%i
.fa.fa-lock
%i
.fa.fa-lock
protected
protected
.controls.hidden-xs
.controls.hidden-xs
-
if
create_mr_button?
(
@repository
.
root_ref
,
branch
.
name
)
-
if
create_mr_button?
(
@repository
.
root_ref
,
branch
.
name
)
=
link_to
create_mr_path
(
@repository
.
root_ref
,
branch
.
name
),
class:
'btn btn-grouped btn-xs'
do
=
link_to
create_mr_path
(
@repository
.
root_ref
,
branch
.
name
),
class:
'btn btn-grouped btn-xs'
do
...
...
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