summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-11-02 01:47:32 +0000
committerGo MAEDA <maeda@farend.jp>2022-11-02 01:47:32 +0000
commit693a8bae50c2c6f1848fa907a1fc841b4110f7e8 (patch)
treec7a4ede8b57dacc69092bb09a69a50ca09c09c3e
parent4f16fb9e5ddd475a23298c1ab548c4c16d939619 (diff)
downloadredmine-693a8bae50c2c6f1848fa907a1fc841b4110f7e8.tar.gz
redmine-693a8bae50c2c6f1848fa907a1fc841b4110f7e8.zip
Don't display an unnecessary closing li element when there is no "Next" button on the activity page. (#37875).
Patch by Alexander Meindl. git-svn-id: https://svn.redmine.org/redmine/trunk@21942 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/activities/index.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb
index 83f67b1b8..cb0bef9dc 100644
--- a/app/views/activities/index.html.erb
+++ b/app/views/activities/index.html.erb
@@ -16,8 +16,7 @@
<%= link_to(l(:label_next) + " \xc2\xbb",
{:params => request.query_parameters.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)) %><% end %>
- </li>
+ :accesskey => accesskey(:next)) %></li><% end %>
</ul>
</span>
&nbsp;