Project

General

Profile

Actions

Defect #33374

open

hook call "view_layouts_base_body_bottom" Inserts content below the viewport

Added by Oliver Köhler about 4 years ago. Updated almost 4 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The content added via the "view_layouts_base_body_bottom" Hook is generated outside of any wrapper object.
With r18427 the size of the wrapper object is set to 100% of the viewport height.
As "view_layouts_base_body_bottom" places content outside of that wrapper, that content is now displayed outside of the viewport.
A possible fix could be placing the

<%= call_hook :view_layouts_base_body_bottom %>

line within the wrapper object like this
  <div id="footer">
      Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2020 Jean-Philippe Lang
  </div>
  <%= call_hook :view_layouts_base_body_bottom %>
</div>

Actions

Also available in: Atom PDF