diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-11 21:01:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-11 21:01:21 +0000 |
commit | 967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64 (patch) | |
tree | 91ffba7b7f5b51365e0b20ccb555c41404337c9f /app/views/timelog | |
parent | 05690057590a2a8d7fe82a1d5df4412ddf879829 (diff) | |
download | redmine-967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64.tar.gz redmine-967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64.zip |
Removed deprecated align and width html attributes (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/_list.html.erb | 2 | ||||
-rw-r--r-- | app/views/timelog/_report_criteria.html.erb | 2 | ||||
-rw-r--r-- | app/views/timelog/report.html.erb | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/timelog/_list.html.erb b/app/views/timelog/_list.html.erb index 522b13032..d257375d5 100644 --- a/app/views/timelog/_list.html.erb +++ b/app/views/timelog/_list.html.erb @@ -21,7 +21,7 @@ <tr class="time-entry <%= cycle("odd", "even") %> hascontextmenu"> <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", entry.id, false, :id => nil) %></td> <%= raw @query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, entry)}</td>"}.join %> - <td align="center"> + <td class="buttons"> <% if entry.editable_by?(User.current) -%> <%= link_to image_tag('edit.png'), edit_time_entry_path(entry), :title => l(:button_edit) %> diff --git a/app/views/timelog/_report_criteria.html.erb b/app/views/timelog/_report_criteria.html.erb index 9a5d142f2..8ebb29e58 100644 --- a/app/views/timelog/_report_criteria.html.erb +++ b/app/views/timelog/_report_criteria.html.erb @@ -3,7 +3,7 @@ <% next if hours_for_value.empty? -%> <tr class="<%= cycle('odd', 'even') %> <%= criterias.length > level+1 ? 'subtotal' : 'last-level' %>"> <%= ("<td></td>" * level).html_safe %> -<td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td> +<td class="name"><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td> <%= ("<td></td>" * (criterias.length - level - 1)).html_safe -%> <% total = 0 -%> <% @report.periods.each do |period| -%> diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index d88ee782a..ac2637ef1 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -43,9 +43,9 @@ <% end %> <% columns_width = (40 / (@report.periods.length+1)).to_i %> <% @report.periods.each do |period| %> - <th class="period" width="<%= columns_width %>%"><%= period %></th> + <th class="period" style="width:<%= columns_width %>%;"><%= period %></th> <% end %> - <th class="total" width="<%= columns_width %>%"><%= l(:label_total_time) %></th> + <th class="total" style="width:<%= columns_width %>%;"><%= l(:label_total_time) %></th> </tr> </thead> <tbody> |