new hooks for wiki

This commit is contained in:
Alexander Meindl 2020-11-20 18:56:45 +01:00
parent 484711d1ce
commit 880e047fb4
4 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
Deface::Override.new virtual_path: 'wiki/edit',
name: 'wiki-edit-bottom',
insert_before: 'fieldset',
original: 'ededb6cfd5adfe8a9723d00ce0ee23575c7cc44c',
partial: 'hooks/view_wiki_form_bottom'

View File

@ -0,0 +1,5 @@
Deface::Override.new virtual_path: 'wiki/show',
name: 'wiki-show-bottom',
insert_before: 'p.wiki-update-info',
original: 'd9f52aa98f1cb335314570d3f5403690f1b29145',
partial: 'hooks/view_wiki_show_bottom'

View File

@ -0,0 +1 @@
= call_hook :view_wiki_form_bottom, content: @content, page: @page

View File

@ -0,0 +1 @@
= call_hook :view_wiki_show_bottom, content: @content, page: @page