Commit 98b484b9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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

Removed hardcoded SSH Username on project create/edit form. Fixes Issue #493
parents 5be94f4b a7c8ce6a
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
Path Path
.input .input
.input-prepend .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? = f.text_field :path, :placeholder => "example_project", :disabled => !@admin_project.new_record?
.clearfix .clearfix
= f.label :code do = f.label :code do
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
Path Path
.input .input
.input-prepend .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? = f.text_field :path, :placeholder => "example_project", :disabled => !@project.new_record?
.clearfix .clearfix
= f.label :code do = f.label :code do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment