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
Jérome Perrin
gitlab-ce
Commits
7d00cc9c
Commit
7d00cc9c
authored
Apr 12, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Fix alignment for project stats
parent
b4d87b8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+1
-2
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
app/views/projects/_stat_anchor_list.html.haml
app/views/projects/_stat_anchor_list.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
7d00cc9c
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
margin
:
15px
5px
0
0
;
margin
:
15px
5px
0
0
;
input
{
input
{
height
:
2
8
px
;
height
:
2
9
px
;
}
}
}
}
...
@@ -883,7 +883,6 @@ pre.light-well {
...
@@ -883,7 +883,6 @@ pre.light-well {
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
-1px
;
margin-left
:
-1px
;
cursor
:
auto
;
cursor
:
auto
;
width
:
101%
;
}
}
}
}
...
...
app/views/projects/_home_panel.html.haml
View file @
7d00cc9c
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
=
render
'projects/buttons/star'
=
render
'projects/buttons/star'
=
render
'projects/buttons/fork'
=
render
'projects/buttons/fork'
%span
.d-none.d-sm-
block
%span
.d-none.d-sm-
inline
-
if
can?
(
current_user
,
:download_code
,
@project
)
-
if
can?
(
current_user
,
:download_code
,
@project
)
.project-clone-holder
.project-clone-holder
=
render
"shared/clone_panel"
=
render
"shared/clone_panel"
...
...
app/views/projects/_stat_anchor_list.html.haml
View file @
7d00cc9c
-
anchors
=
local_assigns
.
fetch
(
:anchors
,
[])
-
anchors
=
local_assigns
.
fetch
(
:anchors
,
[])
-
return
unless
anchors
.
any?
-
return
unless
anchors
.
any?
%ul
.nav
%ul
.nav
.justify-content-center
-
anchors
.
each
do
|
anchor
|
-
anchors
.
each
do
|
anchor
|
%li
.nav-item
%li
.nav-item
=
link_to_if
anchor
.
link
,
anchor
.
label
,
anchor
.
link
,
class:
anchor
.
enabled
?
'nav-link stat-link'
:
"nav-link btn btn-
#{
anchor
.
class_modifier
||
'missing'
}
"
do
=
link_to_if
anchor
.
link
,
anchor
.
label
,
anchor
.
link
,
class:
anchor
.
enabled
?
'nav-link stat-link'
:
"nav-link btn btn-
#{
anchor
.
class_modifier
||
'missing'
}
"
do
...
...
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