Merge pull request #520 from abhid/default-ssh-username

Removed hardcoded SSH Username on project create/edit form. Fixes Issue #493
This commit is contained in:
Dmitriy Zaporozhets 2012-03-07 00:12:43 -08:00
commit 98b484b996
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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