diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-12 12:58:29 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-12 12:58:29 +0000 |
commit | 5401a65a81caa67a8a7d4a6196f34e2d07973da6 (patch) | |
tree | 696c71b6114dda34a5c178103c817a94944df04f /app/views | |
parent | 24bbee41d9430f4227740fe6c0aa4faa9afeafe8 (diff) | |
download | redmine-5401a65a81caa67a8a7d4a6196f34e2d07973da6.tar.gz redmine-5401a65a81caa67a8a7d4a6196f34e2d07973da6.zip |
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
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/common/_calendar.html.erb | 7 |
1 files changed, 6 insertions, 1 deletions
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 %> <table class="cal"> <thead> -<tr><th scope="col" title="<%= l(:label_week) %>" class="week-number"></th><% 7.times do |i| %><th scope="col"><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr> + <tr> + <th scope="col" title="<%= l(:label_week) %>" class="week-number"></th> + <% 7.times do |i| %> + <th scope="col"><%= day_name((calendar.first_wday + i) % 7) %></th> + <% end %> + </tr> </thead> <tbody> <tr> |