5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 05:04:16 +00:00
This commit is contained in:
f 2022-04-07 13:34:12 -03:00
parent ef2589a4f1
commit 106029b48f

View file

@ -3,7 +3,7 @@
= t('.explanation', fqdn: @deploy_local.site.hostname)
\
= Terminal::Table.new do |table|
- table << [t('.th.type'), t('.th.status'), t('.th.url'), t('.th.seconds')]
- table << [t('.th.type'), t('.th.status'), t('.th.url'), t('.th.seconds'), t('.th.size')]
- table.add_separator
- @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), number_to_human_size(value[:size], precision: 2)]