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
c90fdfd8
Commit
c90fdfd8
authored
Feb 01, 2019
by
Camil Staps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Starrers view: fix search icon, change placeholder, fix "no starrers" when search does not match
parent
1ec8c0e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
app/views/projects/starrers/index.html.haml
app/views/projects/starrers/index.html.haml
+14
-11
No files found.
app/views/projects/starrers/index.html.haml
View file @
c90fdfd8
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
form_tag
request
.
original_url
,
method: :get
,
class:
'form-inline user-search-form flex-users-form'
do
=
form_tag
request
.
original_url
,
method: :get
,
class:
'form-inline user-search-form flex-users-form'
do
.form-group
.form-group
.position-relative
.position-relative
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
_
(
'
Find starrers by name
'
),
class:
'form-control'
,
spellcheck:
false
}
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
_
(
'
Search
'
),
class:
'form-control'
,
spellcheck:
false
}
%button
.user-search-btn
{
type:
"submit"
,
"aria-label"
=>
_
(
"Submit search"
)
}
%button
.user-search-btn
{
type:
"submit"
,
"aria-label"
=>
_
(
"Submit search"
)
}
=
icon
(
"search"
)
=
icon
(
"search"
)
.dropdown.inline.user-sort-dropdown
.dropdown.inline.user-sort-dropdown
...
@@ -27,4 +27,7 @@
...
@@ -27,4 +27,7 @@
=
render
partial:
'starrer'
,
collection:
@starrers
,
as: :starrer
=
render
partial:
'starrer'
,
collection:
@starrers
,
as: :starrer
=
paginate
@starrers
,
theme:
'gitlab'
=
paginate
@starrers
,
theme:
'gitlab'
-
else
-
else
-
if
params
[
:search
].
present?
.nothing-here-block
No starrers matched your search
-
else
.nothing-here-block
Nobody has starred this repository yet
.nothing-here-block
Nobody has starred this repository yet
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