additionals/app/overrides/wiki_show.rb

20 lines
777 B
Ruby
Raw Normal View History

2021-12-02 18:10:22 +03:00
# frozen_string_literal: true
module WikiShow
2024-07-02 11:30:35 +03:00
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
2021-12-02 18:10:22 +03:00
end