1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-06 09:03:25 +00:00

Don't render an empty li tag (#23192).

git-svn-id: http://svn.redmine.org/redmine/trunk@15597 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-06-30 20:14:49 +00:00
parent 1310f0afa9
commit aadddc9427

View File

@ -28,11 +28,11 @@
params.merge(:from => @date_to - @days - 1),
:title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)),
:accesskey => accesskey(:previous)) %>
</li><li class="next page">
</li><% unless @date_to >= User.current.today %><li class="next page">
<%= link_to_content_update(l(:label_next) + " \xc2\xbb",
params.merge(:from => @date_to + @days - 1),
:title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)),
:accesskey => accesskey(:next)) unless @date_to >= User.current.today %>
:accesskey => accesskey(:next)) %><% end %>
</li>
</ul>
</span>