##// END OF EJS Templates
Use em.info tags....
Jean-Philippe Lang -
r13185:fee3a3ae5067
parent child
Show More
@@ -152,8 +152,7 module RepositoriesHelper
152 152 def subversion_field_tags(form, repository)
153 153 content_tag('p', form.text_field(:url, :size => 60, :required => true,
154 154 :disabled => !repository.safe_attribute?('url')) +
155 '<br />'.html_safe +
156 '(file:///, http://, https://, svn://, svn+[tunnelscheme]://)') +
155 content_tag('em', '(file:///, http://, https://, svn://, svn+[tunnelscheme]://)', :class => 'info')) +
157 156 content_tag('p', form.text_field(:login, :size => 30)) +
158 157 content_tag('p', form.password_field(
159 158 :password, :size => 30, :name => 'ignore',
@@ -178,12 +177,12 module RepositoriesHelper
178 177 :size => 60, :required => true,
179 178 :disabled => !repository.safe_attribute?('url')
180 179 ) +
181 '<br />'.html_safe + l(:text_mercurial_repository_note)) +
180 content_tag('em', l(:text_mercurial_repository_note), :class => 'info')) +
182 181 content_tag('p', form.select(
183 182 :path_encoding, [nil] + Setting::ENCODINGS,
184 183 :label => l(:field_scm_path_encoding)
185 184 ) +
186 '<br />'.html_safe + l(:text_scm_path_encoding_note))
185 content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
187 186 end
188 187
189 188 def git_field_tags(form, repository)
@@ -192,13 +191,12 module RepositoriesHelper
192 191 :size => 60, :required => true,
193 192 :disabled => !repository.safe_attribute?('url')
194 193 ) +
195 '<br />'.html_safe +
196 l(:text_git_repository_note)) +
194 content_tag('em', l(:text_git_repository_note), :class => 'info')) +
197 195 content_tag('p', form.select(
198 196 :path_encoding, [nil] + Setting::ENCODINGS,
199 197 :label => l(:field_scm_path_encoding)
200 198 ) +
201 '<br />'.html_safe + l(:text_scm_path_encoding_note)) +
199 content_tag('em', l(:text_scm_path_encoding_note), :class => 'info')) +
202 200 content_tag('p', form.check_box(
203 201 :extra_report_last_commit,
204 202 :label => l(:label_git_report_last_commit)
@@ -223,7 +221,7 module RepositoriesHelper
223 221 :path_encoding, [nil] + Setting::ENCODINGS,
224 222 :label => l(:field_scm_path_encoding)
225 223 ) +
226 '<br />'.html_safe + l(:text_scm_path_encoding_note))
224 content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
227 225 end
228 226
229 227 def bazaar_field_tags(form, repository)
@@ -245,7 +243,7 module RepositoriesHelper
245 243 :path_encoding, [nil] + Setting::ENCODINGS,
246 244 :label => l(:field_scm_path_encoding)
247 245 ) +
248 '<br />'.html_safe + l(:text_scm_path_encoding_note))
246 content_tag('em', l(:text_scm_path_encoding_note), :class => 'info'))
249 247 end
250 248
251 249 def index_commits(commits, heads)
General Comments 0
You need to be logged in to leave comments. Login now