sutty/app/views/deploy_mailer/deployed.text.haml

12 lines
344 B
Text

= '# ' + t('.hi')
\
= t('.explanation', fqdn: @deploy_local.site.hostname)
\
= Terminal::Table.new do |table|
- table << [t('.th.type'), t('.th.status')]
- table.add_separator
- @deploys.each do |deploy, value|
- table << [t(".#{deploy}.title"),
value ? t(".#{deploy}.success") : t(".#{deploy}.error")]
\
= t('.help')