additionals/app/overrides/wiki_show.rb
2024-07-02 10:30:35 +02:00

20 lines
777 B
Ruby

# frozen_string_literal: true
module WikiShow
if Redmine::VERSION.to_s < '5.1'
Deface::Override.new virtual_path: 'wiki/show',
name: 'wiki-show',
sequence: 1,
insert_before: 'p.wiki-update-info',
original: 'd9f52aa98f1cb335314570d3f5403690f1b29145',
partial: 'hooks/view_wiki_show_bottom'
else
Deface::Override.new virtual_path: 'wiki/show',
name: 'wiki-show',
sequence: 1,
insert_before: 'p.wiki-update-info',
original: '39c0ff8f0b6a468264526af5046c3c6db7e94997',
partial: 'hooks/view_wiki_show_bottom'
end
end