Fix checksum for wiki show deface

This commit is contained in:
Alexander Meindl 2024-07-02 10:30:35 +02:00
parent 48c15e7b8c
commit ac5175e056

View File

@ -1,10 +1,19 @@
# frozen_string_literal: true
module WikiShow
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'
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