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
Kazuhiko Shiozaki
gitlab-ce
Commits
5e7f5ee8
Commit
5e7f5ee8
authored
Aug 20, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle explore projects to fix #7548
parent
0b3ebb64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
20 deletions
+25
-20
app/assets/stylesheets/sections/dashboard.scss
app/assets/stylesheets/sections/dashboard.scss
+4
-0
app/views/explore/projects/_project.html.haml
app/views/explore/projects/_project.html.haml
+21
-20
No files found.
app/assets/stylesheets/sections/dashboard.scss
View file @
5e7f5ee8
...
...
@@ -89,6 +89,10 @@
}
}
.project-description
{
overflow
:
hidden
;
}
.project-access-icon
{
margin-left
:
10px
;
float
:
left
;
...
...
app/views/explore/projects/_project.html.haml
View file @
5e7f5ee8
%li
%h4
.project-title
.project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
=
link_to
project
.
name_with_namespace
,
project
.project-access-icon
=
visibility_level_icon
(
project
.
visibility_level
)
-
if
current_page?
(
starred_explore_projects_path
)
%strong
.pull-right
=
pluralize
project
.
star_count
,
'star'
.project-description
%h4
.project-title
=
link_to
project
.
name_with_namespace
,
project
-
if
project
.
description
.
present?
%p
.project-description.str-truncated
=
project
.
description
-
if
current_page?
(
starred_explore_projects_path
)
%strong
.pull-right
=
pluralize
project
.
star_count
,
'star'
.repo-info
-
unless
project
.
empty_repo?
=
link_to
pluralize
(
project
.
repository
.
round_commit_count
,
'commit'
),
project_commits_path
(
project
,
project
.
default_branch
)
·
=
link_to
pluralize
(
project
.
repository
.
branch_names
.
count
,
'branch'
),
project_branches_path
(
project
)
·
=
link_to
pluralize
(
project
.
repository
.
tag_names
.
count
,
'tag'
),
project_tags_path
(
project
)
-
else
%i
.icon-warning-sign
Empty repository
-
if
project
.
description
.
present?
%p
.project-description.str-truncated
=
project
.
description
.repo-info
-
unless
project
.
empty_repo?
=
link_to
pluralize
(
project
.
repository
.
round_commit_count
,
'commit'
),
project_commits_path
(
project
,
project
.
default_branch
)
·
=
link_to
pluralize
(
project
.
repository
.
branch_names
.
count
,
'branch'
),
project_branches_path
(
project
)
·
=
link_to
pluralize
(
project
.
repository
.
tag_names
.
count
,
'tag'
),
project_tags_path
(
project
)
-
else
%i
.icon-warning-sign
Empty repository
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