18399-missing_next_link_v2.patch

Go MAEDA, 2016-12-21 13:20

Download (956 Bytes)

View differences:

app/views/activities/index.html.erb (working copy)
28 28
                   {:params => request.query_parameters.merge(:from => @date_to - @days - 1)},
29 29
                   :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)),
30 30
                   :accesskey => accesskey(:previous)) %>
31
    </li><% unless @date_to >= User.current.today %><li class="next page">
31
    </li><% unless @date_to > User.current.today %><li class="next page">
32 32
<%= link_to(l(:label_next) + " \xc2\xbb",
33 33
                   {:params => request.query_parameters.merge(:from => @date_to + @days - 1)},
34 34
                   :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)),