diff options
author | Abhi Devireddy <abhi@devireddy.com> | 2012-03-06 17:39:07 -0600 |
---|---|---|
committer | Abhi Devireddy <abhi@devireddy.com> | 2012-03-06 17:39:07 -0600 |
commit | a7c8ce6a4d56fdfc38ac0fb034bae51758e5e3e9 (patch) | |
tree | 9273f70abe58f376f600c81c505d2d532e4d371f /app | |
parent | eb7bbedb20e57e7ff266dfd0611d4d25b69cde1b (diff) | |
download | gitlab-ce-a7c8ce6a4d56fdfc38ac0fb034bae51758e5e3e9.tar.gz |
Removed hardcoded SSH Username on project create/edit form
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/projects/_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/_form.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/projects/_form.html.haml b/app/views/admin/projects/_form.html.haml index 4f6bc692b67..abb51bba8c1 100644 --- a/app/views/admin/projects/_form.html.haml +++ b/app/views/admin/projects/_form.html.haml @@ -13,7 +13,7 @@ Path .input .input-prepend - %span.add-on= "git@#{GIT_HOST["host"]}:" + %span.add-on= "#{GIT_HOST["git_user"]}@#{GIT_HOST["host"]}:" = f.text_field :path, :placeholder => "example_project", :disabled => !@admin_project.new_record? .clearfix = f.label :code do diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml index 6137aa5e279..a65a0244a8f 100644 --- a/app/views/projects/_form.html.haml +++ b/app/views/projects/_form.html.haml @@ -12,7 +12,7 @@ Path .input .input-prepend - %span.add-on= "git@#{GIT_HOST["host"]}:" + %span.add-on= "#{GIT_HOST["git_user"]}@#{GIT_HOST["host"]}:" = f.text_field :path, :placeholder => "example_project", :disabled => !@project.new_record? .clearfix = f.label :code do |