<% if @group.memberships.any? %>
-
+
<%= l(:label_project) %> |
<%= l(:label_role_plural) %> |
|
-
+
<% @group.memberships.each do |membership| %>
<% next if membership.new_record? %>
diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb
index 48c216ee9..d3a789936 100644
--- a/app/views/groups/_users.html.erb
+++ b/app/views/groups/_users.html.erb
@@ -1,10 +1,10 @@
<% if @group.users.any? %>
-
+
<%= l(:label_user) %> |
|
-
+
<% @group.users.sort.each do |user| %>
diff --git a/app/views/my/blocks/_timelog.rhtml b/app/views/my/blocks/_timelog.rhtml
index 95679b207..fdff465e2 100644
--- a/app/views/my/blocks/_timelog.rhtml
+++ b/app/views/my/blocks/_timelog.rhtml
@@ -13,13 +13,13 @@ entries_by_day = entries.group_by(&:spent_on)
<% if entries.any? %>
-
+
<%= l(:label_activity) %> |
<%= l(:label_project) %> |
<%= l(:field_comments) %> |
<%= l(:field_hours) %> |
|
-
+
<% entries_by_day.keys.sort.reverse.each do |day| %>
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 %>
-
-
-
- <%= l(:field_name) %> |
- <%= l(:enumeration_system_activity) %> |
- <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
- <%= h value.name %> |
- <% end %>
- <%= l(:field_active) %> |
-
-
- <% @project.activities(true).each do |enumeration| %>
- <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
-
-
- <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
- <%= h(enumeration) %>
- |
- <%= checked_image !enumeration.project %> |
- <% enumeration.custom_field_values.each do |value| %>
-
- <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
- |
- <% end %>
-
- <%= ff.check_box :active %>
- |
-
- <% end %>
- <% end %>
-
-
-
-<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project},
- :method => :delete,
- :confirm => l(:text_are_you_sure),
- :class => 'icon icon-del') %>
-
-
-<%= submit_tag l(:button_save) %>
-<% end %>
+<% form_tag({:controller => 'projects', :action => 'save_activities', :id => @project}, :class => "tabular") do %>
+
+
+
+ <%= l(:field_name) %> |
+ <%= l(:enumeration_system_activity) %> |
+ <% TimeEntryActivity.new.available_custom_fields.each do |value| %>
+ <%= h value.name %> |
+ <% end %>
+ <%= l(:field_active) %> |
+
+
+ <% @project.activities(true).each do |enumeration| %>
+ <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
+
+
+ <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
+ <%= h(enumeration) %>
+ |
+ <%= checked_image !enumeration.project %> |
+ <% enumeration.custom_field_values.each do |value| %>
+
+ <%= custom_field_tag "enumerations[#{enumeration.id}]", value %>
+ |
+ <% end %>
+
+ <%= ff.check_box :active %>
+ |
+
+ <% end %>
+ <% end %>
+
+
+
+<%= link_to(l(:button_reset), {:controller => 'projects', :action => 'reset_activities', :id => @project},
+ :method => :delete,
+ :confirm => l(:text_are_you_sure),
+ :class => 'icon icon-del') %>
+
+
+<%= 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? %>
-
+
<%= l(:label_board) %> |
<%= l(:field_description) %> |
|
|
-
+
<% @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? %>
-
+
<%= l(:label_issue_category) %> |
<%= l(:field_assigned_to) %> |
|
-
+
<% 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 @@
<% if members.any? %>
-
+
<%= l(:label_user) %> / <%= l(:label_group) %> |
<%= l(:label_role_plural) %> |
|
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %>
-
+
<% 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? %>
-
+
<%= l(:label_version) %> |
<%= l(:field_effective_date) %> |
<%= l(:field_description) %> |
@@ -8,7 +8,7 @@
<%= l(:field_sharing) %> |
<%= l(:label_wiki_page) unless @project.wiki.nil? %> |
|
-
+
<% for version in @project.shared_versions.sort %>
diff --git a/app/views/users/_memberships.rhtml b/app/views/users/_memberships.rhtml
index 7659f1cc0..70921f4ab 100644
--- a/app/views/users/_memberships.rhtml
+++ b/app/views/users/_memberships.rhtml
@@ -4,12 +4,12 @@
<% if @user.memberships.any? %>
-
+
<%= l(:label_project) %> |
<%= l(:label_role_plural) %> |
|
<%= call_hook(:view_users_memberships_table_header, :user => @user )%>
-
+
<% @user.memberships.each do |membership| %>
<% next if membership.new_record? %>