9 lines
492 B
Ruby
9 lines
492 B
Ruby
|
class ByterazorsRedmineFooterHookViewListener < Redmine::Hook::ViewListener
|
||
|
def view_layouts_base_html_head(context={})
|
||
|
footer_content = 'some_footer_content'
|
||
|
[
|
||
|
"<script>document.addEventListener('DOMContentLoaded',function(){var footer = document.getElementById('footer').innerHTML='<div class=\"bgl\"><div class=\"bgr\"><div style=\"text-align:center;\"><a href=\"/projects/hosting/wiki/Legal_notice\">Legal Information</a></div></div></div>';});</script>",
|
||
|
]
|
||
|
end
|
||
|
end
|