20 lines
439 B
Plaintext
20 lines
439 B
Plaintext
!= t '.body', subject: @orga.name, author: @current_user || t('.submitter')
|
|
|
|
:ruby
|
|
new = render template: '/orgas/show'
|
|
|
|
former = @orga
|
|
@orga = @orga.paper_trail.previous_version || @orga
|
|
|
|
prev = render template: '/orgas/show'
|
|
@orga = former
|
|
|
|
require 'differ/format/patch'
|
|
Differ.format = Differ::Format::Patch
|
|
!= Differ.diff new, prev
|
|
\
|
|
= surround '<'.html_safe, '>'.html_safe do
|
|
= edit_orga_url @orga
|
|
\
|
|
!= t '.signature'
|