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
aa02a3b7
Commit
aa02a3b7
authored
Nov 16, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix projects page
parent
a7734bba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app/views/projects/_tile.html.haml
app/views/projects/_tile.html.haml
+1
-1
spec/requests/projects_spec.rb
spec/requests/projects_spec.rb
+6
-0
No files found.
app/views/projects/_tile.html.haml
View file @
aa02a3b7
...
...
@@ -16,5 +16,5 @@
%p
.small-tags
=
tag_list
project
.buttons
%a
.browse-code.button.yellow
{
:href
=>
tree_project_
path
(
project
)}
Browse code
%a
.browse-code.button.yellow
{
:href
=>
tree_project_
ref_path
(
project
,
project
.
root_ref
)}
Browse code
%a
.commits.button.green
{
:href
=>
project_commits_path
(
project
)}
Commits
spec/requests/projects_spec.rb
View file @
aa02a3b7
...
...
@@ -5,6 +5,8 @@ describe "Projects" do
describe
"GET /projects"
do
before
do
@project
=
Factory
:project
@project
.
add_access
(
@user
,
:read
)
visit
projects_path
end
...
...
@@ -15,6 +17,10 @@ describe "Projects" do
it
"should have link to new project"
do
page
.
should
have_content
(
"Create new project"
)
end
it
"should have project"
do
page
.
should
have_content
(
@project
.
name
)
end
end
describe
"GET /projects/new"
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