mirror of
https://github.com/rickbarrette/redmine_qbo_calendar.git
synced 2026-10-04 04:40:43 -04:00
Moved calendar JavaScript inclusion from view hook to the calendar view
This commit is contained in:
1 parent
2acbbd343a
commit
9a8787c3da
2 files changed
+2
-1
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
<%= javascript_include_tag("calendar", plugin: :redmine_qbo_calendar) %>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
# Check if toggles are active via query params
|
# Check if toggles are active via query params
|
||||||
only_appointments = params[:only_appointments] == '1'
|
only_appointments = params[:only_appointments] == '1'
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ module RedmineQboCalendar
|
|||||||
def view_layouts_base_html_head(context = {})
|
def view_layouts_base_html_head(context = {})
|
||||||
safe_join([
|
safe_join([
|
||||||
javascript_include_tag("customer_appointments", plugin: :redmine_qbo_calendar),
|
javascript_include_tag("customer_appointments", plugin: :redmine_qbo_calendar),
|
||||||
javascript_include_tag("calendar", plugin: :redmine_qbo_calendar),
|
|
||||||
stylesheet_link_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')
|
javascript_include_tag('https://kit.fontawesome.com/4be4394b21.js', crossorigin: 'anonymous')
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in new issue
Block a user