From c72d0a83cabb1c933822bd278ebe5f08c8f33cbb Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Sun, 6 Mar 2022 17:50:22 -0500 Subject: [PATCH] New line @ EOF & formating --- app/controllers/vehicles_controller.rb | 2 +- app/views/issues/_history.html.erb | 2 +- app/views/qbo/authenticate.html.erb | 1 - app/views/vehicles/_details.html.erb | 2 +- config/locales/en.yml | 3 ++- lib/projects_form_hook_listener.rb | 2 +- lib/query_patch.rb | 2 +- lib/time_entry_query_patch.rb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 66648cd..eed7ff9 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -123,4 +123,4 @@ class VehiclesController < ApplicationController found_non_zero end -end \ No newline at end of file +end diff --git a/app/views/issues/_history.html.erb b/app/views/issues/_history.html.erb index db79500..aa8ecbf 100644 --- a/app/views/issues/_history.html.erb +++ b/app/views/issues/_history.html.erb @@ -32,4 +32,4 @@ <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> <% end %> -<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %> \ No newline at end of file +<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %> diff --git a/app/views/qbo/authenticate.html.erb b/app/views/qbo/authenticate.html.erb index 1d977a5..265357a 100644 --- a/app/views/qbo/authenticate.html.erb +++ b/app/views/qbo/authenticate.html.erb @@ -30,4 +30,3 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI intuit.ipp.anywhere.setup({menuProxy: '/path/to/blue-dot', grantUrl: '<%= authenticate_vendors_url %>'}); - diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 7f23db7..b8293e1 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -42,4 +42,4 @@
<%= button_to t(:label_edit), edit_vehicle_path(vehicle), method: :get%> <%= button_to t(:label_delete), vehicle, method: :delete, data: {confirm: t(:warn_ru_sure)} %> -
\ No newline at end of file + diff --git a/config/locales/en.yml b/config/locales/en.yml index bbbe1cc..33190f3 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -79,4 +79,5 @@ en: label_invoices: "Invoices" label_load_customer: "Load Customer" label_door: "Door" - label_trim: "Trim" \ No newline at end of file + label_trim: "Trim" + \ No newline at end of file diff --git a/lib/projects_form_hook_listener.rb b/lib/projects_form_hook_listener.rb index 834c7b5..a15469a 100644 --- a/lib/projects_form_hook_listener.rb +++ b/lib/projects_form_hook_listener.rb @@ -32,5 +32,5 @@ class ProjectsFormHookListener < Redmine::Hook::ViewListener vehicle = f.select :vehicle_id, vehicles, :selected => selected_vehicle, include_blank: true return "

#{search_customer} #{customer_id}

#{vehicle}

" -end + end end diff --git a/lib/query_patch.rb b/lib/query_patch.rb index 27dffb2..8ed3d9e 100644 --- a/lib/query_patch.rb +++ b/lib/query_patch.rb @@ -31,4 +31,4 @@ module QueryPatch end # Add module to Issue -IssueQuery.send(:prepend, QueryPatch) \ No newline at end of file +IssueQuery.send(:prepend, QueryPatch) diff --git a/lib/time_entry_query_patch.rb b/lib/time_entry_query_patch.rb index b89874d..b49c5b9 100644 --- a/lib/time_entry_query_patch.rb +++ b/lib/time_entry_query_patch.rb @@ -30,4 +30,4 @@ module TimeEntryQueryPatch end # Add module to TimeEntryQuery -TimeEntryQuery.send(:prepend, QueryPatch) \ No newline at end of file +TimeEntryQuery.send(:prepend, QueryPatch)