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
a972ce17
Commit
a972ce17
authored
Oct 10, 2015
by
Чингиз Ауанасов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ and Titleize New Project button on dashboard
parent
468c3559
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/dashboard/projects/_projects.html.haml
app/views/dashboard/projects/_projects.html.haml
+1
-1
app/views/groups/_projects.html.haml
app/views/groups/_projects.html.haml
+1
-1
No files found.
app/views/dashboard/projects/_projects.html.haml
View file @
a972ce17
...
@@ -5,6 +5,6 @@
...
@@ -5,6 +5,6 @@
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
%span
.input-group-btn
%span
.input-group-btn
=
link_to
new_project_path
,
class:
'btn btn-green'
do
=
link_to
new_project_path
,
class:
'btn btn-green'
do
New p
roject
+ New P
roject
=
render
'shared/projects/list'
,
projects:
@projects
,
ci:
true
=
render
'shared/projects/list'
,
projects:
@projects
,
ci:
true
app/views/groups/_projects.html.haml
View file @
a972ce17
...
@@ -5,6 +5,6 @@
...
@@ -5,6 +5,6 @@
-
if
can?
current_user
,
:create_projects
,
@group
-
if
can?
current_user
,
:create_projects
,
@group
%span
.input-group-btn
%span
.input-group-btn
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
'btn btn-green'
do
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
'btn btn-green'
do
New p
roject
+ New P
roject
=
render
'shared/projects/list'
,
projects:
@projects
,
projects_limit:
20
,
stars:
false
=
render
'shared/projects/list'
,
projects:
@projects
,
projects_limit:
20
,
stars:
false
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