2019-07-26 00:36:33 +00:00
|
|
|
%h1= t('.hi')
|
|
|
|
|
2019-09-24 22:50:20 +00:00
|
|
|
= sanitize_markdown t('.explanation', fqdn: @deploy_local.site.hostname),
|
2019-07-26 00:36:33 +00:00
|
|
|
tags: %w[p a strong em]
|
|
|
|
|
|
|
|
%table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= t('.th.type')
|
|
|
|
%th= t('.th.status')
|
2022-04-06 23:07:14 +00:00
|
|
|
%th= t('.th.url')
|
|
|
|
%th= t('.th.seconds')
|
2019-07-26 00:36:33 +00:00
|
|
|
%tbody
|
2022-04-06 23:07:14 +00:00
|
|
|
- @deploys.each_pair do |deploy, value|
|
2019-07-26 00:36:33 +00:00
|
|
|
%tr
|
|
|
|
%td= t(".#{deploy}.title")
|
2022-04-06 23:07:14 +00:00
|
|
|
%td= value[:status] ? t(".#{deploy}.success") : t(".#{deploy}.error")
|
|
|
|
%td= link_to value[:url], value[:url]
|
|
|
|
%td
|
|
|
|
%time{ datetime: "PT#{value[:seconds]}S" }= distance_of_time_in_words value[:seconds].seconds
|
2019-07-26 00:36:33 +00:00
|
|
|
|
|
|
|
= sanitize_markdown t('.help'), tags: %w[p a strong em]
|