summaryrefslogtreecommitdiffstats
path: root/app/views/gantts
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:03:05 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:03:05 +0000
commite2bb8721d9e0b41094f7a7c768951235492dc3e4 (patch)
treeef48d4e165c15eda180bf3cd1fb2bd1e1b80345a /app/views/gantts
parent103cd46f781489bd804b93bbceecaee2f9993678 (diff)
downloadredmine-e2bb8721d9e0b41094f7a7c768951235492dc3e4.tar.gz
redmine-e2bb8721d9e0b41094f7a7c768951235492dc3e4.zip
Replace tables that were using the 'width' attribute with inline styles (should be replaced with an ID/class).
Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9253 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r--app/views/gantts/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 66890b123..0b4af3523 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -63,7 +63,7 @@ t_height = g_height + headers_height
<p class="warning"><%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p>
<% end %>
-<table width="100%" style="border:0; border-collapse: collapse;">
+<table style="width:100%; border:0; border-collapse: collapse;">
<tr>
<td style="width:<%= subject_width %>px; padding:0px;">
@@ -167,7 +167,7 @@ if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %>
</tr>
</table>
-<table width="100%">
+<table style="width:100%">
<tr>
<td align="left"><%= link_to_content_update("\xc2\xab " + l(:label_previous), params.merge(@gantt.params_previous)) %></td>
<td align="right"><%= link_to_content_update(l(:label_next) + " \xc2\xbb", params.merge(@gantt.params_next)) %></td>