summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-10-04 13:31:14 +0000
committerGo MAEDA <maeda@farend.jp>2018-10-04 13:31:14 +0000
commit00311c574e1419116166789820ae23b31acbfa5a (patch)
tree0ccf24c708a3ae35843fecad11eb1be78f2cb182 /app
parent7516823617108bd23d0004143f5602dad7d74527 (diff)
downloadredmine-00311c574e1419116166789820ae23b31acbfa5a.tar.gz
redmine-00311c574e1419116166789820ae23b31acbfa5a.zip
Let pagination always be visible (#29395).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@17570 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/_file.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/_file.html.erb b/app/views/layouts/_file.html.erb
index 5c1478b9c..4a17bacd7 100644
--- a/app/views/layouts/_file.html.erb
+++ b/app/views/layouts/_file.html.erb
@@ -10,7 +10,9 @@
<p><%= "#{@attachment.description} - " unless @attachment.description.blank? %>
<span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p>
</div>
-<%= yield %>
+<div class="filecontent-container">
+ <%= yield %>
+</div>
<span class="pagination filepreview">
<%= render_pagination %>