Sha256: 8701fc2b1879fd3ea0ef9472cf8e7554bc1fe407d6f0f7e06136ef04b9430937

Contents?: true

Size: 495 Bytes

Versions: 20

Compression:

Stored size: 495 Bytes

Contents

module RedmineExtensions
  class Hooks < Redmine::Hook::ViewListener

    def view_layouts_base_html_head(context={})
      if defined?(EasyExtensions)
        context[:hook_caller].javascript_include_tag('redmine_extensions/application')
      else
        javascript_include_tag('redmine_extensions/jquery.entityarray') +
        javascript_include_tag('redmine_extensions/redmine_extensions') +
        javascript_include_tag('redmine_extensions/easy_togglers')
      end

    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
redmine_extensions-0.2.0 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.27 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.26 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.25 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.24 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.23 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.21 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.20 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.19 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.18 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.17 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.16 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.15 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.14 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.13 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.11 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.10 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.09 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.07 lib/redmine_extensions/hooks.rb
redmine_extensions-0.1.06 lib/redmine_extensions/hooks.rb