2018-08-03 13:22:24 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-06 17:28:06 -04:00
|
|
|
module DiffViewer
|
|
|
|
module Rich
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
|
|
|
self.type = :rich
|
2020-10-14 11:08:42 -04:00
|
|
|
self.switcher_icon = 'doc-text'
|
2018-12-13 12:49:05 -05:00
|
|
|
self.switcher_title = _('rendered diff')
|
2017-06-06 17:28:06 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|