Sha256: 12e3c9caf515d3e21fd49e5e642f901f64676d689eeddd884a037abfde1eb45f
Contents?: true
Size: 822 Bytes
Versions: 1
Compression:
Stored size: 822 Bytes
Contents
module RedmineCrm module ExternalAssetsHelper include ActionView::Helpers::JavaScriptHelper def select2_assets return if @select2_tag_included @select2_tag_included = true javascript_include_tag('select2', plugin: GEM_NAME) + stylesheet_link_tag('select2', plugin: GEM_NAME) + javascript_include_tag('select2_helpers', plugin: GEM_NAME) end def chartjs_assets return if @chartjs_tag_included @chartjs_tag_included = true javascript_include_tag('Chart.bundle.min', plugin: GEM_NAME) end def timepicker_assets return if @timepicker_tag_included @timepicker_tag_included = true javascript_include_tag('timepicker_addon', plugin: GEM_NAME) + stylesheet_link_tag('timepicker_addon', plugin: GEM_NAME) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redmine_crm-0.0.60 | lib/redmine_crm/helpers/external_assets_helper.rb |