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
3c8d209e
Commit
3c8d209e
authored
May 19, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redesign sublevel nav links; vertically align project image; fix spacing
parent
5436bfa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+6
-1
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+4
-5
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
3c8d209e
...
...
@@ -48,15 +48,20 @@
}
}
.cover-title
{
margin-bottom
:
0
;
}
.project-image-container
{
@include
make-sm-column
(
1
);
max-width
:
86px
;
min-width
:
86px
;
padding-right
:
0
;
margin
:
11px
0
;
@media
(
max-width
:
$screen-md-max
)
{
padding-left
:
0
;
margin
-bottom
:
10px
;
margin
:
0
0
10px
;
max-width
:
none
;
min-width
:
none
;
...
...
app/views/projects/show.html.haml
View file @
3c8d209e
...
...
@@ -17,17 +17,16 @@
%ul
.nav
%li
=
link_to
namespace_project_commits_path
(
@project
.
namespace
,
@project
,
current_ref
)
do
=
pluralize
(
number_with_delimiter
(
@project
.
commit_count
),
'commit'
)
#{
'Commit'
.
pluralize
(
@project
.
commit_count
)
}
(
#{
number_with_delimiter
(
@project
.
commit_count
)
}
)
%li
=
link_to
namespace_project_branches_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
branch_names
.
count
),
'branch'
)
#{
'Branch'
.
pluralize
(
@repository
.
branch_names
.
count
)
}
(
#{
number_with_delimiter
(
@repository
.
branch_names
.
count
)
}
)
%li
=
link_to
namespace_project_tags_path
(
@project
.
namespace
,
@project
)
do
=
pluralize
(
number_with_delimiter
(
@repository
.
tag_names
.
count
),
'tag'
)
#{
'Tag'
.
pluralize
(
@repository
.
tag_names
.
count
)
}
(
#{
number_with_delimiter
(
@repository
.
tag_names
.
count
)
}
)
%li
=
link_to
project_files_path
(
@project
)
do
=
repository_size
Files (
#{
repository_size
}
)
-
if
default_project_view
!=
'readme'
&&
@repository
.
readme
%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