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
08cbf0b0
Commit
08cbf0b0
authored
Nov 20, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace fa-chevron-down with GitLab SVG
in dropdowns
parent
ee202720
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
8 deletions
+13
-8
app/views/explore/projects/_filter.html.haml
app/views/explore/projects/_filter.html.haml
+1
-1
app/views/projects/forks/index.html.haml
app/views/projects/forks/index.html.haml
+1
-1
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+1
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+1
-1
app/views/shared/groups/_dropdown.html.haml
app/views/shared/groups/_dropdown.html.haml
+1
-1
app/views/shared/members/_group.html.haml
app/views/shared/members/_group.html.haml
+1
-1
app/views/shared/members/_member.html.haml
app/views/shared/members/_member.html.haml
+1
-1
app/views/shared/projects/_sort_dropdown.html.haml
app/views/shared/projects/_sort_dropdown.html.haml
+1
-1
changelogs/unreleased/224509-replace-fa-chevron-down-with-gitlab-svg-chevron-down-icon.yml
...ace-fa-chevron-down-with-gitlab-svg-chevron-down-icon.yml
+5
-0
No files found.
app/views/explore/projects/_filter.html.haml
View file @
08cbf0b0
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
=
visibility_level_label
(
params
[
:visibility_level
].
to_i
)
-
else
-
else
=
_
(
'Any'
)
=
_
(
'Any'
)
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
%ul
.dropdown-menu.dropdown-menu-right
%ul
.dropdown-menu.dropdown-menu-right
%li
%li
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
=
link_to
filter_projects_path
(
visibility_level:
nil
)
do
...
...
app/views/projects/forks/index.html.haml
View file @
08cbf0b0
...
@@ -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
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
%ul
.dropdown-menu.dropdown-menu-right
%ul
.dropdown-menu.dropdown-menu-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/tags/index.html.haml
View file @
08cbf0b0
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
%button
.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%button
.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%span
.light
%span
.light
=
tags_sort_options_hash
[
@sort
]
=
tags_sort_options_hash
[
@sort
]
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%li
.dropdown-header
%li
.dropdown-header
=
s_
(
'TagsPage|Sort by'
)
=
s_
(
'TagsPage|Sort by'
)
...
...
app/views/projects/tags/new.html.haml
View file @
08cbf0b0
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
=
hidden_field_tag
:ref
,
default_ref
=
hidden_field_tag
:ref
,
default_ref
=
button_tag
type:
'button'
,
title:
default_ref
,
class:
'dropdown-menu-toggle wide js-branch-select monospace'
,
required:
true
,
data:
{
toggle:
'dropdown'
,
selected:
default_ref
,
field_name:
'ref'
}
do
=
button_tag
type:
'button'
,
title:
default_ref
,
class:
'dropdown-menu-toggle wide js-branch-select monospace'
,
required:
true
,
data:
{
toggle:
'dropdown'
,
selected:
default_ref
,
field_name:
'ref'
}
do
.text-left.dropdown-toggle-text
=
default_ref
.text-left.dropdown-toggle-text
=
default_ref
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
=
render
'shared/ref_dropdown'
,
dropdown_class:
'wide'
=
render
'shared/ref_dropdown'
,
dropdown_class:
'wide'
.form-text.text-muted
.form-text.text-muted
=
s_
(
'TagsPage|Existing branch name, tag, or commit SHA'
)
=
s_
(
'TagsPage|Existing branch name, tag, or commit SHA'
)
...
...
app/views/shared/groups/_dropdown.html.haml
View file @
08cbf0b0
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
%button
.dropdown-menu-toggle
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%button
.dropdown-menu-toggle
{
type:
'button'
,
'data-toggle'
=>
'dropdown'
}
%span
.dropdown-label
%span
.dropdown-label
=
options_hash
[
default_sort_by
]
=
options_hash
[
default_sort_by
]
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%li
.dropdown-header
%li
.dropdown-header
=
_
(
"Sort by"
)
=
_
(
"Sort by"
)
...
...
app/views/shared/members/_group.html.haml
View file @
08cbf0b0
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
data:
{
toggle:
"dropdown"
,
field_name:
"group_link[group_access]"
}
}
data:
{
toggle:
"dropdown"
,
field_name:
"group_link[group_access]"
}
}
%span
.dropdown-toggle-text
%span
.dropdown-toggle-text
=
group_link
.
human_access
=
group_link
.
human_access
=
icon
(
"chevron-down
"
)
=
sprite_icon
(
"chevron-down"
,
css_class:
"dropdown-menu-toggle-icon gl-top-3
"
)
.dropdown-menu.dropdown-select.dropdown-menu-right.dropdown-menu-selectable
.dropdown-menu.dropdown-select.dropdown-menu-right.dropdown-menu-selectable
=
dropdown_title
(
_
(
"Change permissions"
))
=
dropdown_title
(
_
(
"Change permissions"
))
.dropdown-content
.dropdown-content
...
...
app/views/shared/members/_member.html.haml
View file @
08cbf0b0
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
data:
{
toggle:
"dropdown"
,
field_name:
"#{f.object_name}[access_level]"
,
qa_selector:
"access_level_dropdown"
}
}
data:
{
toggle:
"dropdown"
,
field_name:
"#{f.object_name}[access_level]"
,
qa_selector:
"access_level_dropdown"
}
}
%span
.dropdown-toggle-text
%span
.dropdown-toggle-text
=
member
.
human_access
=
member
.
human_access
=
icon
(
"chevron-down
"
)
=
sprite_icon
(
"chevron-down"
,
css_class:
"dropdown-menu-toggle-icon gl-top-3
"
)
.dropdown-menu.dropdown-select.dropdown-menu-right.dropdown-menu-selectable
.dropdown-menu.dropdown-select.dropdown-menu-right.dropdown-menu-selectable
=
dropdown_title
(
_
(
"Change permissions"
))
=
dropdown_title
(
_
(
"Change permissions"
))
.dropdown-content
.dropdown-content
...
...
app/views/shared/projects/_sort_dropdown.html.haml
View file @
08cbf0b0
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
.btn-group.w-100.dropdown.js-project-filter-dropdown-wrap
{
role:
"group"
}
.btn-group.w-100.dropdown.js-project-filter-dropdown-wrap
{
role:
"group"
}
%button
#sort-projects-dropdown
.btn.btn-default.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
display:
'static'
}
}
%button
#sort-projects-dropdown
.btn.btn-default.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
display:
'static'
}
}
=
toggle_text
=
toggle_text
=
icon
(
'chevron-down
'
)
=
sprite_icon
(
'chevron-down'
,
css_class:
'dropdown-menu-toggle-icon gl-top-3
'
)
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%ul
.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable
%li
.dropdown-header
%li
.dropdown-header
=
_
(
"Sort by"
)
=
_
(
"Sort by"
)
...
...
changelogs/unreleased/224509-replace-fa-chevron-down-with-gitlab-svg-chevron-down-icon.yml
0 → 100644
View file @
08cbf0b0
---
title
:
Replace fa-chevron-down with GitLab SVG in dropdowns
merge_request
:
48171
author
:
type
:
changed
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