backup_ready.html.haml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  2. %tbody
  3. %tr
  4. %td.email-body
  5. .email-container
  6. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  7. %tbody
  8. %tr
  9. %td.content-cell.hero
  10. .email-row
  11. .col-6
  12. %table.column{ cellspacing: 0, cellpadding: 0 }
  13. %tbody
  14. %tr
  15. %td.column-cell.text-center.padded
  16. %table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
  17. %tbody
  18. %tr
  19. %td
  20. = image_tag full_pack_url('media/images/mailer/icon_file_download.png'), alt: ''
  21. %h1= t 'user_mailer.backup_ready.title'
  22. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  23. %tbody
  24. %tr
  25. %td.email-body
  26. .email-container
  27. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  28. %tbody
  29. %tr
  30. %td.content-cell.content-start
  31. .email-row
  32. .col-6
  33. %table.column{ cellspacing: 0, cellpadding: 0 }
  34. %tbody
  35. %tr
  36. %td.column-cell.text-center
  37. %p= t 'user_mailer.backup_ready.explanation'
  38. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  39. %tbody
  40. %tr
  41. %td.email-body
  42. .email-container
  43. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  44. %tbody
  45. %tr
  46. %td.content-cell
  47. %table.column{ cellspacing: 0, cellpadding: 0 }
  48. %tbody
  49. %tr
  50. %td.column-cell.button-cell
  51. %table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
  52. %tbody
  53. %tr
  54. %td.button-primary
  55. = link_to full_asset_url(@backup.dump.url) do
  56. %span= t 'exports.archive_takeout.download'