From 824adaf30c55695c08ebd5456923ba573344b3e9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 19 Feb 2011 06:42:50 +0000 Subject: [PATCH] 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 --- app/helpers/repositories_helper.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index 63ea52238..50a1ba240 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -180,7 +180,9 @@ module RepositoriesHelper end 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 def cvs_field_tags(form, repository)