mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-09 00:51:31 +00:00
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19190 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ac6c2f7369
commit
88b5831a0d
@ -343,8 +343,8 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def format_activity_description(text)
|
||||
h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')
|
||||
).gsub(/[\r\n]+/, "<br />").html_safe
|
||||
h(text.to_s.truncate(120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')).
|
||||
gsub(/[\r\n]+/, "<br />").html_safe
|
||||
end
|
||||
|
||||
def format_version_name(version)
|
||||
@ -524,8 +524,7 @@ module ApplicationHelper
|
||||
content_tag('div', render_projects_for_jump_box(projects, @project),
|
||||
:class => 'drdn-items projects selection') +
|
||||
content_tag('div', all, :class => 'drdn-items all-projects selection'),
|
||||
:class => 'drdn-content'
|
||||
)
|
||||
:class => 'drdn-content')
|
||||
content_tag('div', trigger + content, :id => "project-jump", :class => "drdn")
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user