af83/chouette-core

View on GitHub
app/views/merge_mailer/finished.html.slim

Summary

Maintainability
Test Coverage
h2.mail-title
  == 'mailers.hello'.t
p== t('mailers.merge_mailer.finished.body', merge_name: @merge.name, status: I18n.t("mailers.statuses.#{@status}"))
p
  - if @merge.successful?
    = mailer_button(t('mailers.merge_mailer.button'), workbench_referential_url(@merge.workbench, @merge.new))
  - else
    = mailer_button(t('mailers.merge_mailer.button'), workbench_merge_url(@merge.workbench, @merge))