2 Commits
Author SHA1 Message Date
ricky 0e54316eac Refactor indentation in view_hook_listener.rb for improved readability 2026-09-08 22:39:09 -04:00
ricky 250442db9d removed trailing / 2026-09-08 08:24:00 -04:00
2 changed files with 9 additions and 9 deletions

No files matched your search

@@ -2,5 +2,5 @@
<p>
<% customer = context[:customer] %>
<%= link_to l(:label_add_appointment), new_customer_appointment_path(customer_id: customer.id), target: :_blank, id: :appointment_link %>
</p>\
</p>
<% end %>
@@ -13,14 +13,14 @@ module RedmineQboCalendar
class ViewHookListener < Redmine::Hook::ViewListener
# Load the javascript and stylesheet assets
def view_layouts_base_html_head(context = {})
safe_join([
javascript_include_tag("customer_appointments", plugin: :redmine_qbo_calendar),
stylesheet_link_tag('customer_appointments', plugin: :redmine_qbo_calendar),
javascript_include_tag('https://kit.fontawesome.com/4be4394b21.js', crossorigin: 'anonymous')
])
end
# Load the javascript and stylesheet assets
def view_layouts_base_html_head(context = {})
safe_join([
javascript_include_tag("customer_appointments", plugin: :redmine_qbo_calendar),
stylesheet_link_tag('customer_appointments', plugin: :redmine_qbo_calendar),
javascript_include_tag('https://kit.fontawesome.com/4be4394b21.js', crossorigin: 'anonymous')
])
end
end
end