summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-11 21:01:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-11 21:01:21 +0000
commit967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64 (patch)
tree91ffba7b7f5b51365e0b20ccb555c41404337c9f /app/views/projects
parent05690057590a2a8d7fe82a1d5df4412ddf879829 (diff)
downloadredmine-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/projects')
-rw-r--r--app/views/projects/settings/_activities.html.erb10
-rw-r--r--app/views/projects/settings/_boards.html.erb4
-rw-r--r--app/views/projects/settings/_issue_categories.html.erb2
-rw-r--r--app/views/projects/settings/_members.html.erb2
-rw-r--r--app/views/projects/settings/_repositories.html.erb4
5 files changed, 11 insertions, 11 deletions
diff --git a/app/views/projects/settings/_activities.html.erb b/app/views/projects/settings/_activities.html.erb
index 8c9a6121c..65c26f57c 100644
--- a/app/views/projects/settings/_activities.html.erb
+++ b/app/views/projects/settings/_activities.html.erb
@@ -7,23 +7,23 @@
<% TimeEntryActivity.new.available_custom_fields.each do |value| %>
<th><%= h value.name %></th>
<% end %>
- <th style="width:15%;"><%= l(:field_active) %></th>
+ <th><%= l(:field_active) %></th>
</tr></thead>
<% @project.activities(true).each do |enumeration| %>
<%= fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
<tr class="<%= cycle('odd', 'even') %>">
- <td>
+ <td class="name">
<%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
<%= h(enumeration) %>
</td>
- <td align="center" style="width:15%;"><%= checked_image !enumeration.project %></td>
+ <td class="tick"><%= checked_image !enumeration.project %></td>
<% enumeration.custom_field_values.each do |value| %>
- <td align="center">
+ <td>
<%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
</td>
<% end %>
- <td align="center" style="width:15%;">
+ <td>
<%= ff.check_box :active %>
</td>
</tr>
diff --git a/app/views/projects/settings/_boards.html.erb b/app/views/projects/settings/_boards.html.erb
index c1e023efe..b6a460b97 100644
--- a/app/views/projects/settings/_boards.html.erb
+++ b/app/views/projects/settings/_boards.html.erb
@@ -10,8 +10,8 @@
<% Board.board_tree(@project.boards) do |board, level|
next if board.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
- <td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
- <td><%=h board.description %></td>
+ <td class="name" style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
+ <td class="description"><%=h board.description %></td>
<td class="reorder">
<% if authorize_for("boards", "edit") %>
<%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
diff --git a/app/views/projects/settings/_issue_categories.html.erb b/app/views/projects/settings/_issue_categories.html.erb
index 2bb3c728f..7c56fb667 100644
--- a/app/views/projects/settings/_issue_categories.html.erb
+++ b/app/views/projects/settings/_issue_categories.html.erb
@@ -9,7 +9,7 @@
<% for category in @project.issue_categories %>
<% unless category.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
- <td><%=h(category.name) %></td>
+ <td class="name"><%=h(category.name) %></td>
<td><%=h(category.assigned_to.name) if category.assigned_to %></td>
<td class="buttons">
<% if User.current.allowed_to?(:manage_categories, @project) %>
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb
index 6cb21002d..90a9d549d 100644
--- a/app/views/projects/settings/_members.html.erb
+++ b/app/views/projects/settings/_members.html.erb
@@ -15,7 +15,7 @@
<% members.each do |member| %>
<% next if member.new_record? %>
<tr id="member-<%= member.id %>" class="<%= cycle 'odd', 'even' %> member">
- <td class="<%= member.principal.class.name.downcase %>"><%= link_to_user member.principal %></td>
+ <td class="name <%= member.principal.class.name.downcase %>"><%= link_to_user member.principal %></td>
<td class="roles">
<span id="member-<%= member.id %>-roles"><%= member.roles.sort.collect(&:to_s).join(', ') %></span>
<%= form_for(member,
diff --git a/app/views/projects/settings/_repositories.html.erb b/app/views/projects/settings/_repositories.html.erb
index 4492165c9..9352963cf 100644
--- a/app/views/projects/settings/_repositories.html.erb
+++ b/app/views/projects/settings/_repositories.html.erb
@@ -12,11 +12,11 @@
<tbody>
<% @project.repositories.sort.each do |repository| %>
<tr class="<%= cycle 'odd', 'even' %>">
- <td>
+ <td class="name">
<%= link_to repository.identifier,
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %>
</td>
- <td align="center"><%= checked_image repository.is_default? %></td>
+ <td><%= checked_image repository.is_default? %></td>
<td><%=h repository.scm_name %></td>
<td><%=h repository.url %></td>
<td class="buttons">