debian-mirror-gitlab/app/views/projects/_new_project_push_tip.html.haml

12 lines
739 B
Text
Raw Normal View History

2018-03-27 19:54:05 +05:30
.push-to-create-popover
%p
= label_tag(:push_to_create_tip, _("Private projects can be created in your personal namespace with:"), class: "weight-normal")
%p.input-group.project-tip-command
2018-11-08 19:23:39 +05:30
%span
2018-03-27 19:54:05 +05:30
= 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") }
2018-11-08 19:23:39 +05:30
%span.input-group-append
= clipboard_button(text: push_to_create_project_command, title: _("Copy command to clipboard"), class: 'input-group-text', placement: "right")
2018-03-27 19:54:05 +05:30
%p
= link_to("What does this command do?", help_page_path("gitlab-basics/create-project", anchor: "push-to-create-a-new-project"), target: "_blank")