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/admin | |
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/admin')
-rw-r--r-- | app/views/admin/info.html.erb | 4 | ||||
-rw-r--r-- | app/views/admin/plugins.html.erb | 2 | ||||
-rw-r--r-- | app/views/admin/projects.html.erb | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb index adfc5a7d6..3205a00eb 100644 --- a/app/views/admin/info.html.erb +++ b/app/views/admin/info.html.erb @@ -5,8 +5,8 @@ <table class="list"> <% @checklist.each do |label, result| %> <tr class="<%= cycle 'odd', 'even' %>"> - <td><%= l(label) %></td> - <td width="30px"><%= image_tag((result ? 'true.png' : 'exclamation.png'), + <td class="name"><%= l(label) %></td> + <td class="tick"><%= image_tag((result ? 'true.png' : 'exclamation.png'), :style => "vertical-align:bottom;") %></td> </tr> <% end %> diff --git a/app/views/admin/plugins.html.erb b/app/views/admin/plugins.html.erb index 4b1d3767e..7cd4fe763 100644 --- a/app/views/admin/plugins.html.erb +++ b/app/views/admin/plugins.html.erb @@ -4,7 +4,7 @@ <table class="list plugins"> <% @plugins.each do |plugin| %> <tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>"> - <td><span class="name"><%=h plugin.name %></span> + <td class="name"><span class="name"><%=h plugin.name %></span> <%= content_tag('span', h(plugin.description), :class => 'description') unless plugin.description.blank? %> <%= content_tag('span', link_to(h(plugin.url), plugin.url), :class => 'url') unless plugin.url.blank? %> </td> diff --git a/app/views/admin/projects.html.erb b/app/views/admin/projects.html.erb index b7b198973..0de7040a4 100644 --- a/app/views/admin/projects.html.erb +++ b/app/views/admin/projects.html.erb @@ -28,8 +28,8 @@ <% project_tree(@projects) do |project, level| %> <tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td> - <td align="center"><%= checked_image project.is_public? %></td> - <td align="center"><%= format_date(project.created_on) %></td> + <td><%= checked_image project.is_public? %></td> + <td><%= format_date(project.created_on) %></td> <td class="buttons"> <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock') unless project.archived? %> <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock') if project.archived? && (project.parent.nil? || !project.parent.archived?) %> |