summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 13:41:03 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 13:41:03 +0200
commitbd08ac55c7b8eb1b41862937aa4f7cc7a53e4bfe (patch)
tree284a3d5206f1fdb4784ebac6fce3b8570a5a47f1 /app/views/projects/empty.html.haml
parent17156cf909fff49ea068b2dc00fd607af20967f8 (diff)
downloadgitlab-ce-bd08ac55c7b8eb1b41862937aa4f7cc7a53e4bfe.tar.gz
Recommend user to create README file for both empty and existing project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index f103fba404e..dfe45a3802d 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -8,11 +8,13 @@
%h3.page-title
The repository for this project is empty
%p
- You can
- = link_to namespace_project_new_blob_path(@project.namespace, @project, 'master'), class: 'btn btn-new' do
- add a file
- &nbsp;or do a push via the command line.
+ If you already have files you can push them using command line instructions below.
+ %br
+ Otherwise you can start with
+ = link_to "adding README", new_readme_path, class: 'underlined-link'
+ file to this project.
+.prepend-top-20
%h3.page-title
Command line instructions
%div.git-empty