summaryrefslogtreecommitdiffstats
path: root/app/views/projects/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r--app/views/projects/settings/_activities.rhtml84
-rw-r--r--app/views/projects/settings/_boards.rhtml4
-rw-r--r--app/views/projects/settings/_issue_categories.rhtml4
-rw-r--r--app/views/projects/settings/_members.rhtml4
-rw-r--r--app/views/projects/settings/_versions.rhtml4
5 files changed, 50 insertions, 50 deletions
diff --git a/app/views/projects/settings/_activities.rhtml b/app/views/projects/settings/_activities.rhtml
index d7b1f3a98..d82bd96fb 100644
--- a/app/views/projects/settings/_activities.rhtml
+++ b/app/views/projects/settings/_activities.rhtml
@@ -1,42 +1,42 @@
-<% form_tag({:controller => 'projects', :action => 'save_activities', :id => @project}, :class => "tabular") do %>
-
-<table class="list">
- <tr>
- <th><%= l(:field_name) %></th>
- <th><%= l(:enumeration_system_activity) %></th>
- <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
- <th><%= h value.name %></th>
- <% end %>
- <th style="width:15%;"><%= l(:field_active) %></th>
- </tr>
-
- <% @project.activities(true).each do |enumeration| %>
- <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
- <tr class="<%= cycle('odd', 'even') %>">
- <td>
- <%= 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>
- <% enumeration.custom_field_values.each do |value| %>
- <td align="center">
- <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
- </td>
- <% end %>
- <td align="center" style="width:15%;">
- <%= ff.check_box :active %>
- </td>
- </tr>
- <% end %>
- <% end %>
-</table>
-
-<div class="contextual">
-<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project},
- :method => :delete,
- :confirm => l(:text_are_you_sure),
- :class => 'icon icon-del') %>
-</div>
-
-<%= submit_tag l(:button_save) %>
-<% end %>
+<% form_tag({:controller => 'projects', :action => 'save_activities', :id => @project}, :class => "tabular") do %>
+
+<table class="list">
+ <thead><tr>
+ <th><%= l(:field_name) %></th>
+ <th><%= l(:enumeration_system_activity) %></th>
+ <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
+ <th><%= h value.name %></th>
+ <% end %>
+ <th style="width:15%;"><%= 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>
+ <%= 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>
+ <% enumeration.custom_field_values.each do |value| %>
+ <td align="center">
+ <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
+ </td>
+ <% end %>
+ <td align="center" style="width:15%;">
+ <%= ff.check_box :active %>
+ </td>
+ </tr>
+ <% end %>
+ <% end %>
+</table>
+
+<div class="contextual">
+<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project},
+ :method => :delete,
+ :confirm => l(:text_are_you_sure),
+ :class => 'icon icon-del') %>
+</div>
+
+<%= submit_tag l(:button_save) %>
+<% end %>
diff --git a/app/views/projects/settings/_boards.rhtml b/app/views/projects/settings/_boards.rhtml
index c203a6f51..b2d5d54a1 100644
--- a/app/views/projects/settings/_boards.rhtml
+++ b/app/views/projects/settings/_boards.rhtml
@@ -1,11 +1,11 @@
<% if @project.boards.any? %>
<table class="list">
- <thead>
+ <thead><tr>
<th><%= l(:label_board) %></th>
<th><%= l(:field_description) %></th>
<th></th>
<th></th>
- </thead>
+ </tr></thead>
<tbody>
<% @project.boards.each do |board|
next if board.new_record? %>
diff --git a/app/views/projects/settings/_issue_categories.rhtml b/app/views/projects/settings/_issue_categories.rhtml
index 52e34f4a4..95121108a 100644
--- a/app/views/projects/settings/_issue_categories.rhtml
+++ b/app/views/projects/settings/_issue_categories.rhtml
@@ -1,10 +1,10 @@
<% if @project.issue_categories.any? %>
<table class="list">
- <thead>
+ <thead><tr>
<th><%= l(:label_issue_category) %></th>
<th><%= l(:field_assigned_to) %></th>
<th></th>
- </thead>
+ </tr></thead>
<tbody>
<% for category in @project.issue_categories %>
<% unless category.new_record? %>
diff --git a/app/views/projects/settings/_members.rhtml b/app/views/projects/settings/_members.rhtml
index 1c0c11f42..35670ac74 100644
--- a/app/views/projects/settings/_members.rhtml
+++ b/app/views/projects/settings/_members.rhtml
@@ -5,12 +5,12 @@
<div class="splitcontentleft">
<% if members.any? %>
<table class="list members">
- <thead>
+ <thead><tr>
<th><%= l(:label_user) %> / <%= l(:label_group) %></th>
<th><%= l(:label_role_plural) %></th>
<th style="width:15%"></th>
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %>
- </thead>
+ </tr></thead>
<tbody>
<% members.each do |member| %>
<% next if member.new_record? %>
diff --git a/app/views/projects/settings/_versions.rhtml b/app/views/projects/settings/_versions.rhtml
index 77dad2704..dc81f6265 100644
--- a/app/views/projects/settings/_versions.rhtml
+++ b/app/views/projects/settings/_versions.rhtml
@@ -1,6 +1,6 @@
<% if @project.shared_versions.any? %>
<table class="list versions">
- <thead>
+ <thead><tr>
<th><%= l(:label_version) %></th>
<th><%= l(:field_effective_date) %></th>
<th><%= l(:field_description) %></th>
@@ -8,7 +8,7 @@
<th><%= l(:field_sharing) %></th>
<th><%= l(:label_wiki_page) unless @project.wiki.nil? %></th>
<th style="width:15%"></th>
- </thead>
+ </tr></thead>
<tbody>
<% for version in @project.shared_versions.sort %>
<tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>">