mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
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
This commit is contained in:
parent
24bbee41d9
commit
5401a65a81
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user