From 5401a65a81caa67a8a7d4a6196f34e2d07973da6 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 12 Sep 2020 12:58:29 +0000 Subject: [PATCH] shorten long line of app/views/common/_calendar.html.erb git-svn-id: http://svn.redmine.org/redmine/trunk@20027 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/common/_calendar.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/common/_calendar.html.erb b/app/views/common/_calendar.html.erb index 0236a9688..942fb3452 100644 --- a/app/views/common/_calendar.html.erb +++ b/app/views/common/_calendar.html.erb @@ -2,7 +2,12 @@ <%= hidden_field_tag 'back_url', url_for(:params => request.query_parameters), :id => nil %> -<% 7.times do |i| %><% end %> + + + <% 7.times do |i| %> + + <% end %> + -- 2.39.5
<%= day_name( (calendar.first_wday+i)%7 ) %>
<%= day_name((calendar.first_wday + i) % 7) %>