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
ba39ca9f
Commit
ba39ca9f
authored
Mar 18, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project name overflow on dashboard
parent
e7e329d3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
22 deletions
+13
-22
app/assets/stylesheets/pages/dashboard.scss
app/assets/stylesheets/pages/dashboard.scss
+4
-13
app/views/dashboard/_projects.html.haml
app/views/dashboard/_projects.html.haml
+3
-3
app/views/dashboard/projects/starred.html.haml
app/views/dashboard/projects/starred.html.haml
+3
-3
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+3
-3
No files found.
app/assets/stylesheets/pages/dashboard.scss
View file @
ba39ca9f
...
@@ -28,6 +28,10 @@
...
@@ -28,6 +28,10 @@
font-size
:
14px
;
font-size
:
14px
;
line-height
:
24px
;
line-height
:
24px
;
.str-truncated
{
max-width
:
75%
;
}
a
{
a
{
display
:
block
;
display
:
block
;
padding
:
8px
15px
;
padding
:
8px
15px
;
...
@@ -87,16 +91,3 @@
...
@@ -87,16 +91,3 @@
margin-right
:
5px
;
margin-right
:
5px
;
width
:
16px
;
width
:
16px
;
}
}
.dash-new-project
{
background
:
$gl-success
;
border
:
1px
solid
$gl-success
;
a
{
color
:
#FFF
;
}
}
.dash-list
.str-truncated
{
max-width
:
72%
;
}
app/views/dashboard/_projects.html.haml
View file @
ba39ca9f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
.input-group
.input-group
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
.input-group-addon.dash-new-project
%span
.input-group-btn
=
link_to
new_project_path
do
=
link_to
new_project_path
,
class:
'btn btn-success'
do
%strong
New project
New project
=
render
'shared/projects_list'
,
projects:
@projects
,
projects_limit:
20
=
render
'shared/projects_list'
,
projects:
@projects
,
projects_limit:
20
app/views/dashboard/projects/starred.html.haml
View file @
ba39ca9f
...
@@ -8,9 +8,9 @@
...
@@ -8,9 +8,9 @@
.input-group
.input-group
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
.input-group-addon.dash-new-project
%span
.input-group-btn
=
link_to
new_project_path
do
=
link_to
new_project_path
,
class:
'btn btn-success'
do
%strong
New project
New project
=
render
'shared/projects_list'
,
projects:
@projects
,
=
render
'shared/projects_list'
,
projects:
@projects
,
projects_limit:
20
,
stars:
true
,
avatar:
false
projects_limit:
20
,
stars:
true
,
avatar:
false
...
...
app/views/groups/_projects.html.haml
View file @
ba39ca9f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
.input-group
.input-group
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
-
if
can?
current_user
,
:create_projects
,
@group
-
if
can?
current_user
,
:create_projects
,
@group
.input-group-addon.dash-new-project
%span
.input-group-btn
=
link_to
new_project_path
(
namespace_id:
@group
.
id
)
do
=
link_to
new_project_path
(
namespace_id:
@group
.
id
)
,
class:
'btn btn-success'
do
%strong
New project
New project
=
render
'shared/projects_list'
,
projects:
@projects
,
projects_limit:
20
=
render
'shared/projects_list'
,
projects:
@projects
,
projects_limit:
20
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