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
Boxiang Sun
gitlab-ce
Commits
e23c1d88
Commit
e23c1d88
authored
Aug 23, 2016
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace bootstrap caret with fontawesome caret
parent
7e493b11
Changes
31
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
63 additions
and
59 deletions
+63
-59
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/pipeline.js.es6
app/assets/javascripts/pipeline.js.es6
+10
-1
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+8
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+0
-17
app/assets/stylesheets/framework/forms.scss
app/assets/stylesheets/framework/forms.scss
+2
-2
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+4
-0
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+8
-1
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+4
-11
app/views/dashboard/todos/index.html.haml
app/views/dashboard/todos/index.html.haml
+1
-1
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+1
-1
app/views/explore/projects/_filter.html.haml
app/views/explore/projects/_filter.html.haml
+2
-2
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+1
-1
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+2
-2
app/views/projects/commit/_commit_box.html.haml
app/views/projects/commit/_commit_box.html.haml
+1
-1
app/views/projects/commit/_pipeline.html.haml
app/views/projects/commit/_pipeline.html.haml
+1
-1
app/views/projects/deployments/_actions.haml
app/views/projects/deployments/_actions.haml
+1
-1
app/views/projects/forks/index.html.haml
app/views/projects/forks/index.html.haml
+1
-1
app/views/projects/group_links/index.html.haml
app/views/projects/group_links/index.html.haml
+1
-1
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-1
app/views/projects/labels/_label.html.haml
app/views/projects/labels/_label.html.haml
+1
-1
app/views/projects/merge_requests/_show.html.haml
app/views/projects/merge_requests/_show.html.haml
+1
-1
app/views/projects/merge_requests/show/_mr_title.html.haml
app/views/projects/merge_requests/show/_mr_title.html.haml
+1
-1
app/views/projects/merge_requests/show/_versions.html.haml
app/views/projects/merge_requests/show/_versions.html.haml
+2
-2
app/views/projects/merge_requests/widget/open/_accept.html.haml
...ews/projects/merge_requests/widget/open/_accept.html.haml
+1
-1
app/views/projects/snippets/_actions.html.haml
app/views/projects/snippets/_actions.html.haml
+1
-1
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+1
-1
app/views/shared/_new_project_item_select.html.haml
app/views/shared/_new_project_item_select.html.haml
+1
-1
app/views/shared/_sort_dropdown.html.haml
app/views/shared/_sort_dropdown.html.haml
+1
-1
app/views/shared/notifications/_button.html.haml
app/views/shared/notifications/_button.html.haml
+1
-1
app/views/snippets/_actions.html.haml
app/views/snippets/_actions.html.haml
+1
-1
No files found.
CHANGELOG
View file @
e23c1d88
...
@@ -44,6 +44,7 @@ v 8.13.0 (unreleased)
...
@@ -44,6 +44,7 @@ v 8.13.0 (unreleased)
- Add broadcast messages and alerts below sub-nav
- Add broadcast messages and alerts below sub-nav
- Better empty state for Groups view
- Better empty state for Groups view
- Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe)
- Update ruby-prof to 0.16.2. !6026 (Elan Ruusamäe)
- Replace bootstrap caret with fontawesome caret (ClemMakesApps)
- Fix unnecessary escaping of reserved HTML characters in milestone title. !6533
- Fix unnecessary escaping of reserved HTML characters in milestone title. !6533
- Add organization field to user profile
- Add organization field to user profile
- Fix resolved discussion display in side-by-side diff view !6575
- Fix resolved discussion display in side-by-side diff view !6575
...
...
app/assets/javascripts/pipeline.js.es6
View file @
e23c1d88
...
@@ -3,12 +3,21 @@
...
@@ -3,12 +3,21 @@
const $pipelineBtn = $(this).closest('.toggle-pipeline-btn');
const $pipelineBtn = $(this).closest('.toggle-pipeline-btn');
const $pipelineGraph = $(this).closest('.row-content-block').next('.pipeline-graph');
const $pipelineGraph = $(this).closest('.row-content-block').next('.pipeline-graph');
const $btnText = $(this).find('.toggle-btn-text');
const $btnText = $(this).find('.toggle-btn-text');
const $icon = $(this).find('.fa');
$($pipelineBtn).add($pipelineGraph).toggleClass('graph-collapsed');
$($pipelineBtn).add($pipelineGraph).toggleClass('graph-collapsed');
const graphCollapsed = $pipelineGraph.hasClass('graph-collapsed');
const graphCollapsed = $pipelineGraph.hasClass('graph-collapsed');
const expandIcon = 'fa-caret-down';
const hideIcon = 'fa-caret-up';
graphCollapsed ? $btnText.text('Expand') : $btnText.text('Hide')
if(graphCollapsed) {
$btnText.text('Expand');
$icon.removeClass(hideIcon).addClass(expandIcon);
} else {
$btnText.text('Hide');
$icon.removeClass(expandIcon).addClass(hideIcon);
}
}
}
$(document).on('click', '.toggle-pipeline-btn', toggleGraph);
$(document).on('click', '.toggle-pipeline-btn', toggleGraph);
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
e23c1d88
...
@@ -194,10 +194,17 @@
...
@@ -194,10 +194,17 @@
pointer-events
:
none
!
important
;
pointer-events
:
none
!
important
;
}
}
.caret
{
.fa-caret-down
,
.fa-caret-up
{
margin-left
:
5px
;
margin-left
:
5px
;
}
}
&
.dropdown-toggle
{
.fa-caret-down
{
margin-left
:
3px
;
}
}
svg
{
svg
{
height
:
15px
;
height
:
15px
;
width
:
15px
;
width
:
15px
;
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
e23c1d88
.caret
{
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
$caret-width-base
dashed
;
border-right
:
$caret-width-base
solid
transparent
;
border-left
:
$caret-width-base
solid
transparent
;
}
.btn-group
{
.caret
{
margin-left
:
0
;
}
}
.dropdown
{
.dropdown
{
position
:
relative
;
position
:
relative
;
...
...
app/assets/stylesheets/framework/forms.scss
View file @
e23c1d88
...
@@ -81,10 +81,10 @@ label {
...
@@ -81,10 +81,10 @@ label {
.select-wrapper
{
.select-wrapper
{
position
:
relative
;
position
:
relative
;
.
caret
{
.
fa-caret-down
{
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
top
:
$gl-padding
;
top
:
10px
;
color
:
$gray-darkest
;
color
:
$gray-darkest
;
pointer-events
:
none
;
pointer-events
:
none
;
}
}
...
...
app/assets/stylesheets/framework/header.scss
View file @
e23c1d88
...
@@ -57,6 +57,10 @@ header {
...
@@ -57,6 +57,10 @@ header {
&
:hover
,
&
:focus
,
&
:active
{
&
:hover
,
&
:focus
,
&
:active
{
background-color
:
$background-color
;
background-color
:
$background-color
;
}
}
.fa-caret-down
{
font-size
:
15px
;
}
}
}
.navbar-toggle
{
.navbar-toggle
{
...
...
app/assets/stylesheets/framework/selects.scss
View file @
e23c1d88
...
@@ -21,7 +21,14 @@
...
@@ -21,7 +21,14 @@
padding-right
:
10px
;
padding-right
:
10px
;
b
{
b
{
@extend
.caret
;
display
:
inline-block
;
width
:
0
;
height
:
0
;
margin-left
:
2px
;
vertical-align
:
middle
;
border-top
:
$caret-width-base
dashed
;
border-right
:
$caret-width-base
solid
transparent
;
border-left
:
$caret-width-base
solid
transparent
;
color
:
$gray-darkest
;
color
:
$gray-darkest
;
}
}
}
}
...
...
app/assets/stylesheets/pages/pipelines.scss
View file @
e23c1d88
...
@@ -229,9 +229,12 @@
...
@@ -229,9 +229,12 @@
.fa
{
.fa
{
color
:
$table-text-gray
;
color
:
$table-text-gray
;
margin-right
:
6px
;
font-size
:
14px
;
font-size
:
14px
;
}
}
svg
,
.fa
{
margin-right
:
0
;
}
}
}
.btn-remove
{
.btn-remove
{
...
@@ -272,18 +275,8 @@
...
@@ -272,18 +275,8 @@
.toggle-pipeline-btn
{
.toggle-pipeline-btn
{
background-color
:
$gray-dark
;
background-color
:
$gray-dark
;
.caret
{
border-top
:
none
;
border-bottom
:
4px
solid
;
}
&
.graph-collapsed
{
&
.graph-collapsed
{
background-color
:
$white-light
;
background-color
:
$white-light
;
.caret
{
border-bottom
:
none
;
border-top
:
4px
solid
;
}
}
}
}
}
...
...
app/views/dashboard/todos/index.html.haml
View file @
e23c1d88
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
=
sort_options_hash
[
@sort
]
=
sort_options_hash
[
@sort
]
-
else
-
else
=
sort_title_recently_created
=
sort_title_recently_created
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right.dropdown-menu-sort
%ul
.dropdown-menu.dropdown-menu-align-right.dropdown-menu-sort
%li
%li
=
link_to
todos_filter_path
(
sort:
sort_value_priority
)
do
=
link_to
todos_filter_path
(
sort:
sort_value_priority
)
do
...
...
app/views/explore/groups/index.html.haml
View file @
e23c1d88
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
=
sort_options_hash
[
@sort
]
=
sort_options_hash
[
@sort
]
-
else
-
else
=
sort_title_recently_created
=
sort_title_recently_created
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
=
link_to
explore_groups_path
(
sort:
sort_value_recently_created
)
do
=
link_to
explore_groups_path
(
sort:
sort_value_recently_created
)
do
...
...
app/views/explore/projects/_filter.html.haml
View file @
e23c1d88
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
-
else
-
else
Any
Any
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
=
params
[
:tag
]
=
params
[
:tag
]
-
else
-
else
Any
Any
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
=
link_to
filter_projects_path
(
tag:
nil
)
do
=
link_to
filter_projects_path
(
tag:
nil
)
do
...
...
app/views/layouts/header/_default.html.haml
View file @
e23c1d88
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
%li
.header-user.dropdown
%li
.header-user.dropdown
=
link_to
current_user
,
class:
"header-user-dropdown-toggle"
,
data:
{
toggle:
"dropdown"
}
do
=
link_to
current_user
,
class:
"header-user-dropdown-toggle"
,
data:
{
toggle:
"dropdown"
}
do
=
image_tag
avatar_icon
(
current_user
,
26
),
width:
26
,
height:
26
,
class:
"header-user-avatar"
=
image_tag
avatar_icon
(
current_user
,
26
),
width:
26
,
height:
26
,
class:
"header-user-avatar"
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu-nav.dropdown-menu-align-right
.dropdown-menu-nav.dropdown-menu-align-right
%ul
%ul
%li
%li
...
...
app/views/projects/branches/index.html.haml
View file @
e23c1d88
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
%button
.dropdown-toggle.btn
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%button
.dropdown-toggle.btn
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%span
.light
%span
.light
=
projects_sort_options_hash
[
@sort
]
=
projects_sort_options_hash
[
@sort
]
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
=
link_to
filter_branches_path
(
sort:
sort_value_name
)
do
=
link_to
filter_branches_path
(
sort:
sort_value_name
)
do
...
...
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
e23c1d88
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
.btn-group
.btn-group
%a
.dropdown-toggle.btn.btn-default
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%a
.dropdown-toggle.btn.btn-default
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
=
custom_icon
(
'icon_play'
)
=
custom_icon
(
'icon_play'
)
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
-
actions
.
each
do
|
build
|
-
actions
.
each
do
|
build
|
%li
%li
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
.btn-group
.btn-group
%a
.dropdown-toggle.btn.btn-default.build-artifacts
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%a
.dropdown-toggle.btn.btn-default.build-artifacts
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
=
icon
(
"download"
)
=
icon
(
"download"
)
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
-
artifacts
.
each
do
|
build
|
-
artifacts
.
each
do
|
build
|
%li
%li
...
...
app/views/projects/commit/_commit_box.html.haml
View file @
e23c1d88
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
.dropdown.inline
.dropdown.inline
%a
.btn.btn-default.dropdown-toggle
{
data:
{
toggle:
"dropdown"
}
}
%a
.btn.btn-default.dropdown-toggle
{
data:
{
toggle:
"dropdown"
}
}
%span
.hidden-xs
Options
%span
.hidden-xs
Options
%span
.caret.commit-options-dropdown-caret
=
icon
(
'caret-down'
,
class:
".commit-options-dropdown-caret"
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
.visible-xs-block.visible-sm-block
%li
.visible-xs-block.visible-sm-block
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
@commit
)
do
=
link_to
namespace_project_tree_path
(
@project
.
namespace
,
@project
,
@commit
)
do
...
...
app/views/projects/commit/_pipeline.html.haml
View file @
e23c1d88
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.btn.btn-grouped.btn-white.toggle-pipeline-btn
.btn.btn-grouped.btn-white.toggle-pipeline-btn
%span
.toggle-btn-text
Hide
%span
.toggle-btn-text
Hide
%span
pipeline graph
%span
pipeline graph
%span
.caret
=
icon
(
'caret-up'
)
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
-
if
can?
(
current_user
,
:update_pipeline
,
pipeline
.
project
)
-
if
pipeline
.
builds
.
latest
.
failed
.
any?
(
&
:retryable?
)
-
if
pipeline
.
builds
.
latest
.
failed
.
any?
(
&
:retryable?
)
=
link_to
"Retry failed"
,
retry_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn btn-grouped btn-primary'
,
method: :post
=
link_to
"Retry failed"
,
retry_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
),
class:
'btn btn-grouped btn-primary'
,
method: :post
...
...
app/views/projects/deployments/_actions.haml
View file @
e23c1d88
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
.dropdown
.dropdown
%a
.dropdown-new.btn.btn-default
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%a
.dropdown-new.btn.btn-default
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
=
custom_icon
(
'icon_play'
)
=
custom_icon
(
'icon_play'
)
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
-
actions
.
each
do
|
action
|
-
actions
.
each
do
|
action
|
%li
%li
...
...
app/views/projects/forks/index.html.haml
View file @
e23c1d88
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
=
sort_options_hash
[
@sort
]
=
sort_options_hash
[
@sort
]
-
else
-
else
=
sort_title_recently_created
=
sort_title_recently_created
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
-
excluded_filters
=
[
:state
,
:scope
,
:label_name
,
:milestone_id
,
:assignee_id
,
:author_id
]
-
excluded_filters
=
[
:state
,
:scope
,
:label_name
,
:milestone_id
,
:assignee_id
,
:author_id
]
...
...
app/views/projects/group_links/index.html.haml
View file @
e23c1d88
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
=
label_tag
:link_group_access
,
"Max access level"
,
class:
"label-light"
=
label_tag
:link_group_access
,
"Max access level"
,
class:
"label-light"
.select-wrapper
.select-wrapper
=
select_tag
:link_group_access
,
options_for_select
(
ProjectGroupLink
.
access_options
,
ProjectGroupLink
.
default_access
),
class:
"form-control select-control"
=
select_tag
:link_group_access
,
options_for_select
(
ProjectGroupLink
.
access_options
,
ProjectGroupLink
.
default_access
),
class:
"form-control select-control"
%span
.caret
=
icon
(
'caret-down'
)
.form-group
.form-group
=
label_tag
:expires_at
,
'Access expiration date'
,
class:
'label-light'
=
label_tag
:expires_at
,
'Access expiration date'
,
class:
'label-light'
.clearable-input
.clearable-input
...
...
app/views/projects/issues/show.html.haml
View file @
e23c1d88
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
.issuable-actions
.issuable-actions
.clearfix.issue-btn-group.dropdown
.clearfix.issue-btn-group.dropdown
%button
.btn.btn-default.pull-left.hidden-md.hidden-lg
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.pull-left.hidden-md.hidden-lg
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
%span
.caret
=
icon
(
'caret-down'
)
Options
Options
.dropdown-menu.dropdown-menu-align-right.hidden-lg
.dropdown-menu.dropdown-menu-align-right.hidden-lg
%ul
%ul
...
...
app/views/projects/labels/_label.html.haml
View file @
e23c1d88
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.visible-xs.visible-sm-inline-block.visible-md-inline-block.dropdown
.visible-xs.visible-sm-inline-block.visible-md-inline-block.dropdown
%button
.btn.btn-default.label-options-toggle
{
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.label-options-toggle
{
data:
{
toggle:
"dropdown"
}
}
Options
Options
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-menu-align-right
.dropdown-menu.dropdown-menu-align-right
%ul
%ul
%li
%li
...
...
app/views/projects/merge_requests/_show.html.haml
View file @
e23c1d88
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
%span
.dropdown.inline.prepend-left-5
%span
.dropdown.inline.prepend-left-5
%a
.btn.btn-sm.dropdown-toggle
{
data:
{
toggle: :dropdown
}
}
%a
.btn.btn-sm.dropdown-toggle
{
data:
{
toggle: :dropdown
}
}
Download as
Download as
%span
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
=
link_to
"Email Patches"
,
merge_request_path
(
@merge_request
,
format: :patch
)
%li
=
link_to
"Email Patches"
,
merge_request_path
(
@merge_request
,
format: :patch
)
%li
=
link_to
"Plain Diff"
,
merge_request_path
(
@merge_request
,
format: :diff
)
%li
=
link_to
"Plain Diff"
,
merge_request_path
(
@merge_request
,
format: :diff
)
...
...
app/views/projects/merge_requests/show/_mr_title.html.haml
View file @
e23c1d88
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
.issuable-actions
.issuable-actions
.clearfix.issue-btn-group.dropdown
.clearfix.issue-btn-group.dropdown
%button
.btn.btn-default.pull-left.hidden-md.hidden-lg
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.pull-left.hidden-md.hidden-lg
{
type:
"button"
,
data:
{
toggle:
"dropdown"
}
}
%span
.caret
=
icon
(
'caret-down'
)
Options
Options
.dropdown-menu.dropdown-menu-align-right.hidden-lg
.dropdown-menu.dropdown-menu-align-right.hidden-lg
%ul
%ul
...
...
app/views/projects/merge_requests/show/_versions.html.haml
View file @
e23c1d88
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
latest version
latest version
-
else
-
else
version
#{
version_index
(
@merge_request_diff
)
}
version
#{
version_index
(
@merge_request_diff
)
}
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-select.dropdown-menu-selectable
.dropdown-menu.dropdown-select.dropdown-menu-selectable
.dropdown-title
.dropdown-title
%span
Version:
%span
Version:
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
version
#{
version_index
(
@start_version
)
}
version
#{
version_index
(
@start_version
)
}
-
else
-
else
#{
@merge_request
.
target_branch
}
#{
@merge_request
.
target_branch
}
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-select.dropdown-menu-selectable
.dropdown-menu.dropdown-select.dropdown-menu-selectable
.dropdown-title
.dropdown-title
%span
Compared with:
%span
Compared with:
...
...
app/views/projects/merge_requests/widget/open/_accept.html.haml
View file @
e23c1d88
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
Merge When Build Succeeds
Merge When Build Succeeds
-
unless
@project
.
only_allow_merge_if_build_succeeds?
-
unless
@project
.
only_allow_merge_if_build_succeeds?
=
button_tag
class:
"btn btn-success dropdown-toggle"
,
'data-toggle'
=>
'dropdown'
do
=
button_tag
class:
"btn btn-success dropdown-toggle"
,
'data-toggle'
=>
'dropdown'
do
%span
.caret
=
icon
(
'caret-down'
)
%span
.sr-only
%span
.sr-only
Select Merge Moment
Select Merge Moment
%ul
.js-merge-dropdown.dropdown-menu.dropdown-menu-right
{
role:
'menu'
}
%ul
.js-merge-dropdown.dropdown-menu.dropdown-menu-right
{
role:
'menu'
}
...
...
app/views/projects/snippets/_actions.html.haml
View file @
e23c1d88
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
.visible-xs-block.dropdown
.visible-xs-block.dropdown
%button
.btn.btn-default.btn-block.append-bottom-0.prepend-top-5
{
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.btn-block.append-bottom-0.prepend-top-5
{
data:
{
toggle:
"dropdown"
}
}
Options
Options
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-menu-full-width
.dropdown-menu.dropdown-menu-full-width
%ul
%ul
-
if
can?
(
current_user
,
:create_project_snippet
,
@project
)
-
if
can?
(
current_user
,
:create_project_snippet
,
@project
)
...
...
app/views/projects/tags/index.html.haml
View file @
e23c1d88
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%span
.light
%span
.light
=
@sort
.
humanize
=
@sort
.
humanize
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right
%ul
.dropdown-menu.dropdown-menu-align-right
%li
%li
=
link_to
filter_tags_path
(
sort:
nil
)
do
=
link_to
filter_tags_path
(
sort:
nil
)
do
...
...
app/views/shared/_new_project_item_select.html.haml
View file @
e23c1d88
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
=
project_select_tag
:project_path
,
class:
"project-item-select"
,
data:
{
include_groups:
local_assigns
[
:include_groups
],
order_by:
'last_activity_at'
}
=
project_select_tag
:project_path
,
class:
"project-item-select"
,
data:
{
include_groups:
local_assigns
[
:include_groups
],
order_by:
'last_activity_at'
}
%a
.btn.btn-new.new-project-item-select-button
%a
.btn.btn-new.new-project-item-select-button
=
local_assigns
[
:label
]
=
local_assigns
[
:label
]
%b
.caret
=
icon
(
'caret-down'
)
:javascript
:javascript
$
(
'
.new-project-item-select-button
'
).
on
(
'
click
'
,
function
()
{
$
(
'
.new-project-item-select-button
'
).
on
(
'
click
'
,
function
()
{
...
...
app/views/shared/_sort_dropdown.html.haml
View file @
e23c1d88
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
=
sort_options_hash
[
@sort
]
=
sort_options_hash
[
@sort
]
-
else
-
else
=
sort_title_recently_created
=
sort_title_recently_created
%b
.caret
=
icon
(
'caret-down'
)
%ul
.dropdown-menu.dropdown-menu-align-right.dropdown-menu-sort
%ul
.dropdown-menu.dropdown-menu-align-right.dropdown-menu-sort
%li
%li
=
link_to
page_filter_path
(
sort:
sort_value_priority
,
label:
true
)
do
=
link_to
page_filter_path
(
sort:
sort_value_priority
,
label:
true
)
do
...
...
app/views/shared/notifications/_button.html.haml
View file @
e23c1d88
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
=
icon
(
"bell"
,
class:
"js-notification-loading"
)
=
icon
(
"bell"
,
class:
"js-notification-loading"
)
=
notification_title
(
notification_setting
.
level
)
=
notification_title
(
notification_setting
.
level
)
%button
.btn.dropdown-toggle
{
data:
{
toggle:
"dropdown"
,
target:
notifications_menu_identifier
(
"dropdown"
,
notification_setting
)
}
}
%button
.btn.dropdown-toggle
{
data:
{
toggle:
"dropdown"
,
target:
notifications_menu_identifier
(
"dropdown"
,
notification_setting
)
}
}
%span
.caret
=
icon
(
'caret-down'
)
.sr-only
Toggle dropdown
.sr-only
Toggle dropdown
-
else
-
else
%button
.dropdown-new.btn.btn-default.notifications-btn
#notifications-button
{
type:
"button"
,
data:
{
toggle:
"dropdown"
,
target:
notifications_menu_identifier
(
"dropdown"
,
notification_setting
)
}
}
%button
.dropdown-new.btn.btn-default.notifications-btn
#notifications-button
{
type:
"button"
,
data:
{
toggle:
"dropdown"
,
target:
notifications_menu_identifier
(
"dropdown"
,
notification_setting
)
}
}
...
...
app/views/snippets/_actions.html.haml
View file @
e23c1d88
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
.visible-xs-block.dropdown
.visible-xs-block.dropdown
%button
.btn.btn-default.btn-block.append-bottom-0.prepend-top-5
{
data:
{
toggle:
"dropdown"
}
}
%button
.btn.btn-default.btn-block.append-bottom-0.prepend-top-5
{
data:
{
toggle:
"dropdown"
}
}
Options
Options
%span
.caret
=
icon
(
'caret-down'
)
.dropdown-menu.dropdown-menu-full-width
.dropdown-menu.dropdown-menu-full-width
%ul
%ul
%li
%li
...
...
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