2020-07-18 19:26:54 +00:00
|
|
|
= '# ' + t('.hi')
|
2019-07-26 00:36:33 +00:00
|
|
|
\
|
2019-09-24 22:50:20 +00:00
|
|
|
= t('.explanation', fqdn: @deploy_local.site.hostname)
|
2019-07-26 00:36:33 +00:00
|
|
|
\
|
|
|
|
= Terminal::Table.new do |table|
|
2022-04-06 23:07:14 +00:00
|
|
|
- table << [t('.th.type'), t('.th.status'), t('.th.url'), t('.th.seconds')]
|
2019-07-26 00:36:33 +00:00
|
|
|
- table.add_separator
|
2022-04-06 23:07:14 +00:00
|
|
|
- @deploys.each_pair do |deploy, value|
|
|
|
|
- table << [ t(".#{deploy}.title"), value[:status] ? t(".#{deploy}.success") : t(".#{deploy}.error"), value[:url], distance_of_time_in_words(value[:seconds].seconds) ]
|
2019-07-26 00:36:33 +00:00
|
|
|
\
|
|
|
|
= t('.help')
|