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
57749022
Commit
57749022
authored
Mar 22, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dropdown JS to align instead favours HTML class
parent
4366af51
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
dropdowns.js.coffee
app/assets/javascripts/dropdowns.js.coffee
+0
-10
index.html.haml
app/views/projects/branches/index.html.haml
+1
-1
_download.html.haml
app/views/projects/tags/_download.html.haml
+1
-1
No files found.
app/assets/javascripts/dropdowns.js.coffee
deleted
100644 → 0
View file @
4366af51
$
->
$
(
'[data-toggle="dropdown"]'
).
each
->
$dropdown
=
$
(
@
).
parent
()
$menu
=
$dropdown
.
find
(
'.dropdown-menu'
)
$dropdown
.
on
'shown.bs.dropdown'
,
->
dropdownRight
=
$menu
.
offset
().
left
+
$menu
.
outerWidth
()
if
dropdownRight
>=
$
(
window
).
width
()
$menu
.
addClass
'dropdown-menu-align-right'
app/views/projects/branches/index.html.haml
View file @
57749022
...
...
@@ -16,7 +16,7 @@
-
else
Name
%b
.caret
%ul
.dropdown-menu
%ul
.dropdown-menu
.dropdown-menu-align-right
%li
=
link_to
namespace_project_branches_path
(
sort:
nil
)
do
Name
...
...
app/views/projects/tags/_download.html.haml
View file @
57749022
...
...
@@ -6,7 +6,7 @@
%span
.caret
%span
.sr-only
Select Archive Format
%ul
.
col-xs-10.dropdown-menu
{
role:
'menu'
}
%ul
.
dropdown-menu.dropdown-menu-align-right
{
role:
'menu'
}
%li
=
link_to
archive_namespace_project_repository_path
(
project
.
namespace
,
project
,
ref:
ref
,
format:
'zip'
),
rel:
'nofollow'
do
%i
.fa.fa-download
...
...
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