From a7c8ce6a4d56fdfc38ac0fb034bae51758e5e3e9 Mon Sep 17 00:00:00 2001 From: Abhi Devireddy Date: Tue, 6 Mar 2012 17:39:07 -0600 Subject: [PATCH] Removed hardcoded SSH Username on project create/edit form --- app/views/admin/projects/_form.html.haml | 2 +- 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 4f6bc692..abb51bba 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 6137aa5e..a65a0244 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