mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-20 15:31:12 +00:00
Use em.info tags.
git-svn-id: http://svn.redmine.org/redmine/trunk@13567 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3a0a340bbd
commit
fee3a3ae50
@ -152,8 +152,7 @@ module RepositoriesHelper
|
|||||||
def subversion_field_tags(form, repository)
|
def subversion_field_tags(form, repository)
|
||||||
content_tag('p', form.text_field(:url, :size => 60, :required => true,
|
content_tag('p', form.text_field(:url, :size => 60, :required => true,
|
||||||
:disabled => !repository.safe_attribute?('url')) +
|
:disabled => !repository.safe_attribute?('url')) +
|
||||||
'<br />'.html_safe +
|
content_tag('em', '(file:///, http://, https://, svn://, svn+[tunnelscheme]://)', :class => 'info')) +
|
||||||
'(file:///, http://, https://, svn://, svn+[tunnelscheme]://)') +
|
|
||||||
content_tag('p', form.text_field(:login, :size => 30)) +
|
content_tag('p', form.text_field(:login, :size => 30)) +
|
||||||
content_tag('p', form.password_field(
|
content_tag('p', form.password_field(
|
||||||
:password, :size => 30, :name => 'ignore',
|
:password, :size => 30, :name => 'ignore',
|
||||||
@ -178,12 +177,12 @@ module RepositoriesHelper
|
|||||||
:size => 60, :required => true,
|
:size => 60, :required => true,
|
||||||
:disabled => !repository.safe_attribute?('url')
|
:disabled => !repository.safe_attribute?('url')
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe + l(:text_mercurial_repository_note)) +
|
content_tag('em', l(:text_mercurial_repository_note), :class => 'info')) +
|
||||||
content_tag('p', form.select(
|
content_tag('p', form.select(
|
||||||
:path_encoding, [nil] + Setting::ENCODINGS,
|
:path_encoding, [nil] + Setting::ENCODINGS,
|
||||||
:label => l(:field_scm_path_encoding)
|
:label => l(:field_scm_path_encoding)
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe + l(:text_scm_path_encoding_note))
|
content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
|
||||||
end
|
end
|
||||||
|
|
||||||
def git_field_tags(form, repository)
|
def git_field_tags(form, repository)
|
||||||
@ -192,13 +191,12 @@ module RepositoriesHelper
|
|||||||
:size => 60, :required => true,
|
:size => 60, :required => true,
|
||||||
:disabled => !repository.safe_attribute?('url')
|
:disabled => !repository.safe_attribute?('url')
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe +
|
content_tag('em', l(:text_git_repository_note), :class => 'info')) +
|
||||||
l(:text_git_repository_note)) +
|
|
||||||
content_tag('p', form.select(
|
content_tag('p', form.select(
|
||||||
:path_encoding, [nil] + Setting::ENCODINGS,
|
:path_encoding, [nil] + Setting::ENCODINGS,
|
||||||
:label => l(:field_scm_path_encoding)
|
:label => l(:field_scm_path_encoding)
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe + l(:text_scm_path_encoding_note)) +
|
content_tag('em', l(:text_scm_path_encoding_note), :class => 'info')) +
|
||||||
content_tag('p', form.check_box(
|
content_tag('p', form.check_box(
|
||||||
:extra_report_last_commit,
|
:extra_report_last_commit,
|
||||||
:label => l(:label_git_report_last_commit)
|
:label => l(:label_git_report_last_commit)
|
||||||
@ -223,7 +221,7 @@ module RepositoriesHelper
|
|||||||
:path_encoding, [nil] + Setting::ENCODINGS,
|
:path_encoding, [nil] + Setting::ENCODINGS,
|
||||||
:label => l(:field_scm_path_encoding)
|
:label => l(:field_scm_path_encoding)
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe + l(:text_scm_path_encoding_note))
|
content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
|
||||||
end
|
end
|
||||||
|
|
||||||
def bazaar_field_tags(form, repository)
|
def bazaar_field_tags(form, repository)
|
||||||
@ -245,7 +243,7 @@ module RepositoriesHelper
|
|||||||
:path_encoding, [nil] + Setting::ENCODINGS,
|
:path_encoding, [nil] + Setting::ENCODINGS,
|
||||||
:label => l(:field_scm_path_encoding)
|
:label => l(:field_scm_path_encoding)
|
||||||
) +
|
) +
|
||||||
'<br />'.html_safe + l(:text_scm_path_encoding_note))
|
content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
|
||||||
end
|
end
|
||||||
|
|
||||||
def index_commits(commits, heads)
|
def index_commits(commits, heads)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user