2023-02-08 21:55:05 +00:00
|
|
|
%h1= @hi
|
2019-07-26 00:36:33 +00:00
|
|
|
|
2023-02-08 21:55:05 +00:00
|
|
|
= sanitize_markdown @explanation, tags: %w[p a strong em]
|
2019-07-26 00:36:33 +00:00
|
|
|
|
|
|
|
%table
|
|
|
|
%thead
|
|
|
|
%tr
|
2023-02-08 21:55:05 +00:00
|
|
|
- @headers.each do |header|
|
|
|
|
%th= header
|
2019-07-26 00:36:33 +00:00
|
|
|
%tbody
|
2023-02-08 21:55:05 +00:00
|
|
|
- @table.each do |row|
|
|
|
|
- row[:urls].each do |url|
|
|
|
|
%tr
|
|
|
|
%td= row[:title]
|
|
|
|
%td= row[:status]
|
2023-08-31 17:47:44 +00:00
|
|
|
%td= link_to_if (url.present? && url.scheme.present?), url.to_s, url.to_s
|
2023-02-08 21:55:05 +00:00
|
|
|
%td
|
|
|
|
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
|
|
|
|
%td= row[:size]
|
2019-07-26 00:36:33 +00:00
|
|
|
|
2023-02-08 21:55:05 +00:00
|
|
|
= sanitize_markdown @help, tags: %w[p a strong em]
|