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
32a4a99c
Commit
32a4a99c
authored
Jan 19, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port of 24895-branch-index-delete-button-inconsistently-spaced-and-misaligned to EE
parent
1bf684f7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+2
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+1
-1
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+1
-1
app/views/projects/buttons/_download.html.haml
app/views/projects/buttons/_download.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/lists.scss
View file @
32a4a99c
...
...
@@ -155,7 +155,8 @@ ul.content-list {
}
>
.btn
,
>
.btn-group
{
>
.btn-group
,
>
.dropdown.inline
{
margin-right
:
$gl-padding-top
;
display
:
inline-block
;
margin-top
:
3px
;
...
...
app/views/projects/branches/_branch.html.haml
View file @
32a4a99c
...
...
@@ -24,7 +24,7 @@
=
icon
(
'exclamation-triangle'
)
diverged from upstream
.controls.hidden-xs
.controls.hidden-xs
<
-
if
merge_project
&&
create_mr_button?
(
@repository
.
root_ref
,
branch
.
name
)
=
link_to
create_mr_path
(
@repository
.
root_ref
,
branch
.
name
),
class:
'btn btn-default'
do
Merge
Request
...
...
app/views/projects/branches/index.html.haml
View file @
32a4a99c
...
...
@@ -12,7 +12,7 @@
=
form_tag
(
filter_branches_path
,
method: :get
)
do
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
'Filter by branch name'
,
id:
'branch-search'
,
class:
'form-control search-text-input input-short'
,
spellcheck:
false
}
.dropdown.inline
.dropdown.inline
>
%button
.dropdown-menu-toggle
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%span
.light
=
projects_sort_options_hash
[
@sort
]
...
...
app/views/projects/buttons/_download.html.haml
View file @
32a4a99c
-
if
!
project
.
empty_repo?
&&
can?
(
current_user
,
:download_code
,
project
)
.project-action-button.dropdown.inline
.project-action-button.dropdown.inline
>
%button
.btn
{
'data-toggle'
=>
'dropdown'
}
=
icon
(
'download'
)
=
icon
(
"caret-down"
)
...
...
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