From 571ecf07e3e2ba0c9933dd34c4d563b44c1e5ffc Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 1 Mar 2011 04:43:30 +0000 Subject: [PATCH] scm: add notes "local repository" in Git and Mercurial setting. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4974 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/repositories_helper.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb index f19d993ff..e588fe366 100644 --- a/app/helpers/repositories_helper.rb +++ b/app/helpers/repositories_helper.rb @@ -195,13 +195,15 @@ module RepositoriesHelper def mercurial_field_tags(form, repository) content_tag('p', form.text_field(:url, :label => 'Root directory', :size => 60, :required => true, - :disabled => (repository && !repository.root_url.blank?))) + :disabled => (repository && !repository.root_url.blank?)) + + '
local repository (e.g. /hgrepo, c:\hgrepo)' ) end def git_field_tags(form, repository) content_tag('p', form.text_field(:url, :label => 'Path to repository', :size => 60, :required => true, - :disabled => (repository && !repository.root_url.blank?))) + :disabled => (repository && !repository.root_url.blank?)) + + '
a bare and local repository (e.g. /gitrepo, c:\gitrepo)') end def cvs_field_tags(form, repository) -- 2.39.5