mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Allos specify repository name when create a project
This commit is contained in:
@@ -24,6 +24,10 @@ input {
|
||||
input[type="radio"], input[type="checkbox"] {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.add-on {
|
||||
padding: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
.project-name-holder {
|
||||
.help-inline {
|
||||
vertical-align: top;
|
||||
padding: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
.project_clone_panel {
|
||||
@include border-radius(4px);
|
||||
@include bg-gray-gradient;
|
||||
|
||||
@@ -6,11 +6,23 @@
|
||||
New projects are private by default. You choose who can see the project and commit to repository.
|
||||
%hr
|
||||
= form_for @project, remote: true do |f|
|
||||
.control-group.project_name_holder
|
||||
.control-group.project-name-holder
|
||||
= f.label :name do
|
||||
%strong Project name is
|
||||
.controls
|
||||
= f.text_field :name, placeholder: "Example Project", class: "input-xlarge", tabindex: 1, autofocus: true
|
||||
%span.help-inline
|
||||
= link_to "#", class: 'js-toggle-visibility-link' do
|
||||
%span Custom repo name?
|
||||
|
||||
.control-group.js-toggle-visibility-container.hide
|
||||
= f.label :path do
|
||||
%span Repository name
|
||||
.controls
|
||||
.input-append
|
||||
= f.text_field :path
|
||||
%span.add-on .git
|
||||
|
||||
|
||||
- if current_user.can_select_namespace?
|
||||
.control-group
|
||||
|
||||
Reference in New Issue
Block a user