BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9bdd1130
Commit
9bdd1130
authored
Jun 29, 2017
by
Tim Zallmann
Committed by
Annabel Dunstone Gray
Jun 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Select branch dropdown is too close to branch name"
parent
02299efa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
18 deletions
+25
-18
tree.scss
app/assets/stylesheets/pages/tree.scss
+6
-0
show.html.haml
app/views/projects/commits/show.html.haml
+19
-18
No files found.
app/assets/stylesheets/pages/tree.scss
View file @
9bdd1130
.tree-holder
{
.nav-block
{
margin
:
10px
0
;
...
...
@@ -15,6 +16,11 @@
.btn-group
{
margin-left
:
10px
;
}
.control
{
float
:
left
;
margin-left
:
10px
;
}
}
.tree-ref-holder
{
...
...
app/views/projects/commits/show.html.haml
View file @
9bdd1130
...
...
@@ -8,27 +8,28 @@
=
render
"head"
%div
{
class:
container_class
}
.row-content-block.second-block.content-component-block.flex-container-block
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'commits'
.tree-holder
.nav-block
.tree-ref-container
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'commits'
%ul
.breadcrumb.repo-breadcrumb
=
commits_breadcrumbs
.tree-controls.hidden-xs.hidden-sm
-
if
@merge_request
.
present?
.control
=
link_to
_
(
"View open merge request"
),
namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
class:
'btn'
-
elsif
create_mr_button?
(
@repository
.
root_ref
,
@ref
)
.control
=
link_to
_
(
"Create merge request"
),
create_mr_path
(
@repository
.
root_ref
,
@ref
),
class:
'btn btn-success'
%ul
.breadcrumb.repo-breadcrumb
=
commits_breadcrumbs
.block-controls.hidden-xs.hidden-sm
-
if
@merge_request
.
present?
.control
=
link_to
_
(
"View open merge request"
),
namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
class:
'btn'
-
elsif
create_mr_button?
(
@repository
.
root_ref
,
@ref
)
=
form_tag
(
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@id
),
method: :get
,
class:
'commits-search-form'
)
do
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
_
(
'Filter by commit message'
),
id:
'commits-search'
,
class:
'form-control search-text-input input-short'
,
spellcheck:
false
}
.control
=
link_to
_
(
"Create merge request"
),
create_mr_path
(
@repository
.
root_ref
,
@ref
),
class:
'btn btn-success'
.control
=
form_tag
(
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@id
),
method: :get
,
class:
'commits-search-form'
)
do
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
_
(
'Filter by commit message'
),
id:
'commits-search'
,
class:
'form-control search-text-input input-short'
,
spellcheck:
false
}
.control
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@ref
,
rss_url_options
),
title:
_
(
"Commits feed"
),
class:
'btn'
do
=
icon
(
"rss"
)
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
@ref
,
rss_url_options
),
title:
_
(
"Commits feed"
),
class:
'btn'
do
=
icon
(
"rss"
)
%div
{
id:
dom_id
(
@project
)
}
%ol
#commits-list
.list-unstyled.content_list
...
...
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