From 65d81976002f18c66f3283ca9b8b4443921f5a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Lui=CC=81s?= Date: Thu, 22 Feb 2018 10:03:01 +0000 Subject: Add link to docs to Push to Create Project tip --- app/views/projects/_new_project_push_tip.html.haml | 8 +++++--- 1 file 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") -- cgit v1.2.1