blob: 0c65f7e335d0e095bab906b581512d8c685dda1e [file] [log] [blame]
#
# Overall Agenda page: simple table with one row for each item in the index
#
class Index < React
def render
_header do
_h1 'ASF Board Agenda'
end
_table.table_bordered do
_thead do
_th 'Attach'
_th 'Title'
_th 'Owner'
_th 'Shepherd'
end
_tbody Agenda.index do |row|
_tr class: row.color do
_td row.attach
_td { _Link text: row.title, href: row.href }
_td row.owner
_td row.shepherd
end
end
end
end
end