summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-03 13:23:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-08-03 13:23:32 +0000
commite13814a59c70cb6e6461815f4dec9fe6f34e9423 (patch)
tree33d8b1e1b3349e3bbbd4ce65448eece1be9db5d1 /app/helpers
parent60fa32d51a40280a58e1a60950cde36a6902011e (diff)
downloadredmine-e13814a59c70cb6e6461815f4dec9fe6f34e9423.tar.gz
redmine-e13814a59c70cb6e6461815f4dec9fe6f34e9423.zip
remove trailing white-spaces from ApplicationHelper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12075 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 959df67c8..3cac90d04 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -638,7 +638,7 @@ module ApplicationHelper
else
wiki_page_id = page.present? ? Wiki.titleize(page) : nil
parent = wiki_page.nil? && obj.is_a?(WikiContent) && obj.page && project == link_project ? obj.page.title : nil
- url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project,
+ url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project,
:id => wiki_page_id, :version => nil, :anchor => anchor, :parent => parent)
end
end
@@ -1001,7 +1001,7 @@ module ApplicationHelper
html << "</ul></div>\n"
end
html.html_safe
- end
+ end
def delete_link(url, options={})
options = {
@@ -1015,8 +1015,8 @@ module ApplicationHelper
def preview_link(url, form, target='preview', options={})
content_tag 'a', l(:label_preview), {
- :href => "#",
- :onclick => %|submitPreview("#{escape_javascript url_for(url)}", "#{escape_javascript form}", "#{escape_javascript target}"); return false;|,
+ :href => "#",
+ :onclick => %|submitPreview("#{escape_javascript url_for(url)}", "#{escape_javascript form}", "#{escape_javascript target}"); return false;|,
:accesskey => accesskey(:preview)
}.merge(options)
end
@@ -1104,14 +1104,14 @@ module ApplicationHelper
start_of_week = start_of_week.to_i % 7
tags << javascript_tag(
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
- "showOn: 'button', buttonImageOnly: true, buttonImage: '" +
+ "showOn: 'button', buttonImageOnly: true, buttonImage: '" +
path_to_image('/images/calendar.png') +
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, " +
"selectOtherMonths: true, changeMonth: true, changeYear: true, " +
"beforeShow: beforeShowDatePicker};")
jquery_locale = l('jquery.locale', :default => current_language.to_s)
unless jquery_locale == 'en'
- tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js")
+ tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js")
end
tags
end