2017-10-21 20:21:25 +02:00
|
|
|
!= t '.body', subject: @orga.name, author: @current_user || t('.submitter')
|
|
|
|
|
2015-09-05 18:56:48 +02:00
|
|
|
:ruby
|
|
|
|
new = render file: '/orgas/show'
|
|
|
|
|
|
|
|
former = @orga
|
2016-07-02 16:48:47 +02:00
|
|
|
@orga = @orga.paper_trail.previous_version
|
2015-09-05 18:56:48 +02:00
|
|
|
|
|
|
|
prev = render file: '/orgas/show'
|
|
|
|
@orga = former
|
|
|
|
|
|
|
|
require 'differ/format/patch'
|
|
|
|
Differ.format = Differ::Format::Patch
|
2017-10-21 20:21:25 +02:00
|
|
|
!= Differ.diff new, prev
|
2016-10-28 19:14:24 +02:00
|
|
|
\
|
2016-10-18 23:28:18 +02:00
|
|
|
= surround '<'.html_safe, '>'.html_safe do
|
2016-10-28 19:14:24 +02:00
|
|
|
= edit_orga_url @orga, secret: @orga.secret
|
2015-07-25 18:32:27 +02:00
|
|
|
\
|
2017-10-21 20:21:25 +02:00
|
|
|
!= t '.signature'
|