agenda-libre-ruby/app/views/orga_mailer/update.text.haml

20 lines
374 B
Plaintext
Raw Normal View History

= t '.body', subject: @orga.name, author: @current_user || t('.submitter')
\
:ruby
new = render file: '/orgas/show'
former = @orga
@orga = @orga.versions.last.reify
prev = render file: '/orgas/show'
@orga = former
require 'differ/format/patch'
Differ.format = Differ::Format::Patch
= Differ.diff new, prev
= t '.access'
= orga_url @orga
\
= t '.signature'