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
e8d97173
Commit
e8d97173
authored
Nov 30, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update badge-pill class
parent
1d1f935c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/dashboard/_groups_head.html.haml
app/views/dashboard/_groups_head.html.haml
+1
-1
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+2
-2
No files found.
app/views/dashboard/_groups_head.html.haml
View file @
e8d97173
...
...
@@ -10,7 +10,7 @@
=
nav_link
(
page:
dashboard_groups_path
)
do
=
link_to
dashboard_groups_path
,
title:
_
(
"Your groups"
)
do
Your groups
%span
.badge.
count
=
limited_counter_with_delimiter
(
current_user
.
groups
)
%span
.badge.
badge-pill
=
limited_counter_with_delimiter
(
current_user
.
groups
)
=
nav_link
(
page:
explore_groups_path
)
do
=
link_to
explore_groups_path
,
title:
_
(
"Explore public groups"
)
do
Explore public groups
...
...
app/views/dashboard/_projects_head.html.haml
View file @
e8d97173
...
...
@@ -15,11 +15,11 @@
=
nav_link
(
page:
[
dashboard_projects_path
,
root_path
])
do
=
link_to
dashboard_projects_path
,
class:
'shortcuts-activity'
,
data:
{
placement:
'right'
}
do
Your projects
%span
.badge.
count
=
limited_counter_with_delimiter
(
ProjectsFinder
.
new
(
params:
{
non_public:
true
},
current_user:
current_user
).
execute
)
%span
.badge.
badge-pill
=
limited_counter_with_delimiter
(
ProjectsFinder
.
new
(
params:
{
non_public:
true
},
current_user:
current_user
).
execute
)
=
nav_link
(
page:
starred_dashboard_projects_path
)
do
=
link_to
starred_dashboard_projects_path
,
data:
{
placement:
'right'
}
do
Starred projects
%span
.badge.
count
=
limited_counter_with_delimiter
(
ProjectsFinder
.
new
(
params:
{
starred:
true
},
current_user:
current_user
).
execute
)
%span
.badge.
badge-pill
=
limited_counter_with_delimiter
(
ProjectsFinder
.
new
(
params:
{
starred:
true
},
current_user:
current_user
).
execute
)
=
nav_link
(
page:
[
explore_root_path
,
trending_explore_projects_path
,
starred_explore_projects_path
,
explore_projects_path
])
do
=
link_to
explore_root_path
,
data:
{
placement:
'right'
}
do
Explore projects
...
...
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