scm: git: change select label to 'Path to repository'.

Redmine requires bare repository. '.git' is confusing.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4883 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-19 06:42:50 +00:00
parent a092f5e0b9
commit 824adaf30c
1 changed files with 3 additions and 1 deletions

View File

@ -180,7 +180,9 @@ module RepositoriesHelper
end end
def git_field_tags(form, repository) def git_field_tags(form, repository)
content_tag('p', form.text_field(:url, :label => 'Path to .git directory', :size => 60, :required => true, :disabled => (repository && !repository.root_url.blank?))) content_tag('p', form.text_field(:url, :label => 'Path to repository',
:size => 60, :required => true,
:disabled => (repository && !repository.root_url.blank?)))
end end
def cvs_field_tags(form, repository) def cvs_field_tags(form, repository)