diff options
author | André Luís <aluis@gitlab.com> | 2018-02-22 10:03:01 +0000 |
---|---|---|
committer | André Luís <aluis@gitlab.com> | 2018-02-22 12:52:19 +0000 |
commit | 65d81976002f18c66f3283ca9b8b4443921f5a8b (patch) | |
tree | 6878b82f8f42cbeb352b88ef2830c454a6a7df94 | |
parent | 2b35ea66a61228c0ce612a0846d980ee75dc1a08 (diff) | |
download | gitlab-ce-42938-add-tip-push-to-create.tar.gz |
Add link to docs to Push to Create Project tip42938-add-tip-push-to-create
-rw-r--r-- | app/views/projects/_new_project_push_tip.html.haml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/projects/_new_project_push_tip.html.haml b/app/views/projects/_new_project_push_tip.html.haml index 693f3b06dc7..9bc69211d12 100644 --- a/app/views/projects/_new_project_push_tip.html.haml +++ b/app/views/projects/_new_project_push_tip.html.haml @@ -2,8 +2,10 @@ %p = label_tag(:push_to_create_tip, _("Private projects can be created in your personal namespace with:"), class: "weight-normal") - .input-group.project-tip-command - .input-group-btn + %p.input-group.project-tip-command + %span.input-group-btn = text_field_tag :push_to_create_tip, push_to_create_project_command, class: "js-select-on-focus form-control monospace", readonly: true, aria: { label: _("Push project from command line") } - .input-group-btn + %span.input-group-btn = clipboard_button(text: push_to_create_project_command, title: _("Copy command to clipboard"), placement: "right") + %p + = link_to("What does this command do?", help_page_path("gitlab-basics/create-project", anchor: "push-to-create-a-new-project"), target: "_blank") |