##// END OF EJS Templates
Don't render an empty li tag (#23192)....
Jean-Philippe Lang -
r15215:aadddc9427b4
parent child
Show More
@@ -28,11 +28,11
28 params.merge(:from => @date_to - @days - 1),
28 params.merge(:from => @date_to - @days - 1),
29 :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)),
29 :title => l(:label_date_from_to, :start => format_date(@date_to - 2*@days), :end => format_date(@date_to - @days - 1)),
30 :accesskey => accesskey(:previous)) %>
30 :accesskey => accesskey(:previous)) %>
31 </li><li class="next page">
31 </li><% unless @date_to >= User.current.today %><li class="next page">
32 <%= link_to_content_update(l(:label_next) + " \xc2\xbb",
32 <%= link_to_content_update(l(:label_next) + " \xc2\xbb",
33 params.merge(:from => @date_to + @days - 1),
33 params.merge(:from => @date_to + @days - 1),
34 :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)),
34 :title => l(:label_date_from_to, :start => format_date(@date_to), :end => format_date(@date_to + @days - 1)),
35 :accesskey => accesskey(:next)) unless @date_to >= User.current.today %>
35 :accesskey => accesskey(:next)) %><% end %>
36 </li>
36 </li>
37 </ul>
37 </ul>
38 </span>
38 </span>
General Comments 0
You need to be logged in to leave comments. Login now