Commit 63e50323 by Tấn Trần Thanh

show data for sheet raw task new

parent 8636b97c
Pipeline #1563 failed with stages
in 0 seconds
= workflow_report
Description goes here
= stylesheet_link_tag 'style', plugin: 'workflow_report'
.table-container
table[border="1"]
tr
- @thead.each do |head|
th = head
- @result[0].each_with_index do |_root_id, index|
tr
- (0..(@thead.length - 1)).each do |i|
td = @result[i][index]
.table-container {
overflow-x: auto;
}
table {
table-layout: fixed;
border-collapse: collapse;
}
# English strings go here for Rails i18n
en:
# my_label: "My label"
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
get 'workflow_report', to: 'workflow_report#index'
require 'redmine'
Rails.configuration.to_prepare do
require_dependency 'issue'
end
Redmine::Plugin.register :workflow_report do
name 'Workflow Report plugin'
author 'Author name'
description 'This is a plugin for Redmine'
version '0.0.1'
url 'http://example.com/path/to/plugin'
author_url 'http://example.com/about'
menu :top_menu, :workflow_report, { controller: 'workflow_report', action: 'index' }, caption: 'Workflow Report'
end
# Load the Redmine helper
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment