Sha256: c9e43483a053188876b8f5595dbc1b4f4c39f31bfbbd767422a0e5ee54b2f272

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

MoreViewHooks.instance_eval do
  add(:view_projects_contextual,
      virtual_path: "projects/show",
      insert_top:   "div.contextual"
  )

  add(:view_projects_show_top,
      virtual_path:  "projects/show",
      insert_before: "div.splitcontentleft"
  )

  add(:view_projects_show_bottom,
      virtual_path: "projects/show",
      insert_after: "div.splitcontentright"
  )

  add(:view_projects_show_sidebar_top,
      virtual_path:  "projects/_sidebar",
      insert_before: "erb[silent]:contains('if @total_hours.present?')"
  )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine-more_view_hooks-0.0.1 lib/more_view_hooks/default_additional_hooks.rb