@@ -5,14 +5,14 | |||
|
5 | 5 | |
|
6 | 6 | <% enumerations = klass.shared %> |
|
7 | 7 | <% if enumerations.any? %> |
|
8 | <table class="list"> | |
|
8 | <table class="list"><thead> | |
|
9 | 9 | <tr> |
|
10 | 10 | <th><%= l(:field_name) %></th> |
|
11 | 11 | <th style="width:15%;"><%= l(:field_is_default) %></th> |
|
12 | 12 | <th style="width:15%;"><%= l(:field_active) %></th> |
|
13 | 13 | <th style="width:15%;"></th> |
|
14 | 14 | <th align="center" style="width:10%;"> </th> |
|
15 | </tr> | |
|
15 | </tr></thead> | |
|
16 | 16 | <% enumerations.each do |enumeration| %> |
|
17 | 17 | <tr class="<%= cycle('odd', 'even') %>"> |
|
18 | 18 | <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td> |
@@ -4,11 +4,11 | |||
|
4 | 4 | <div class="splitcontentleft"> |
|
5 | 5 | <% if @group.memberships.any? %> |
|
6 | 6 | <table class="list memberships"> |
|
7 | <thead> | |
|
7 | <thead><tr> | |
|
8 | 8 | <th><%= l(:label_project) %></th> |
|
9 | 9 | <th><%= l(:label_role_plural) %></th> |
|
10 | 10 | <th style="width:15%"></th> |
|
11 | </thead> | |
|
11 | </tr></thead> | |
|
12 | 12 | <tbody> |
|
13 | 13 | <% @group.memberships.each do |membership| %> |
|
14 | 14 | <% next if membership.new_record? %> |
@@ -1,10 +1,10 | |||
|
1 | 1 | <div class="splitcontentleft"> |
|
2 | 2 | <% if @group.users.any? %> |
|
3 | 3 | <table class="list users"> |
|
4 | <thead> | |
|
4 | <thead><tr> | |
|
5 | 5 | <th><%= l(:label_user) %></th> |
|
6 | 6 | <th style="width:15%"></th> |
|
7 | </thead> | |
|
7 | </tr></thead> | |
|
8 | 8 | <tbody> |
|
9 | 9 | <% @group.users.sort.each do |user| %> |
|
10 | 10 | <tr id="user-<%= user.id %>" class="<%= cycle 'odd', 'even' %>"> |
@@ -13,13 +13,13 entries_by_day = entries.group_by(&:spent_on) | |||
|
13 | 13 | |
|
14 | 14 | <% if entries.any? %> |
|
15 | 15 | <table class="list time-entries"> |
|
16 | <thead> | |
|
16 | <thead><tr> | |
|
17 | 17 | <th><%= l(:label_activity) %></th> |
|
18 | 18 | <th><%= l(:label_project) %></th> |
|
19 | 19 | <th><%= l(:field_comments) %></th> |
|
20 | 20 | <th><%= l(:field_hours) %></th> |
|
21 | 21 | <th></th> |
|
22 | </thead> | |
|
22 | </tr></thead> | |
|
23 | 23 | <tbody> |
|
24 | 24 | <% entries_by_day.keys.sort.reverse.each do |day| %> |
|
25 | 25 | <tr class="odd"> |
@@ -1,14 +1,14 | |||
|
1 | 1 | <% form_tag({:controller => 'projects', :action => 'save_activities', :id => @project}, :class => "tabular") do %> |
|
2 | 2 | |
|
3 | 3 | <table class="list"> |
|
4 | <tr> | |
|
4 | <thead><tr> | |
|
5 | 5 | <th><%= l(:field_name) %></th> |
|
6 | 6 | <th><%= l(:enumeration_system_activity) %></th> |
|
7 | 7 | <% TimeEntryActivity.new.available_custom_fields.each do |value| %> |
|
8 | 8 | <th><%= h value.name %></th> |
|
9 | 9 | <% end %> |
|
10 | 10 | <th style="width:15%;"><%= l(:field_active) %></th> |
|
11 | </tr> | |
|
11 | </tr></thead> | |
|
12 | 12 | |
|
13 | 13 | <% @project.activities(true).each do |enumeration| %> |
|
14 | 14 | <% fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %> |
@@ -1,11 +1,11 | |||
|
1 | 1 | <% if @project.boards.any? %> |
|
2 | 2 | <table class="list"> |
|
3 | <thead> | |
|
3 | <thead><tr> | |
|
4 | 4 | <th><%= l(:label_board) %></th> |
|
5 | 5 | <th><%= l(:field_description) %></th> |
|
6 | 6 | <th></th> |
|
7 | 7 | <th></th> |
|
8 | </thead> | |
|
8 | </tr></thead> | |
|
9 | 9 | <tbody> |
|
10 | 10 | <% @project.boards.each do |board| |
|
11 | 11 | next if board.new_record? %> |
@@ -1,10 +1,10 | |||
|
1 | 1 | <% if @project.issue_categories.any? %> |
|
2 | 2 | <table class="list"> |
|
3 | <thead> | |
|
3 | <thead><tr> | |
|
4 | 4 | <th><%= l(:label_issue_category) %></th> |
|
5 | 5 | <th><%= l(:field_assigned_to) %></th> |
|
6 | 6 | <th></th> |
|
7 | </thead> | |
|
7 | </tr></thead> | |
|
8 | 8 | <tbody> |
|
9 | 9 | <% for category in @project.issue_categories %> |
|
10 | 10 | <% unless category.new_record? %> |
@@ -5,12 +5,12 | |||
|
5 | 5 | <div class="splitcontentleft"> |
|
6 | 6 | <% if members.any? %> |
|
7 | 7 | <table class="list members"> |
|
8 | <thead> | |
|
8 | <thead><tr> | |
|
9 | 9 | <th><%= l(:label_user) %> / <%= l(:label_group) %></th> |
|
10 | 10 | <th><%= l(:label_role_plural) %></th> |
|
11 | 11 | <th style="width:15%"></th> |
|
12 | 12 | <%= call_hook(:view_projects_settings_members_table_header, :project => @project) %> |
|
13 | </thead> | |
|
13 | </tr></thead> | |
|
14 | 14 | <tbody> |
|
15 | 15 | <% members.each do |member| %> |
|
16 | 16 | <% next if member.new_record? %> |
@@ -1,6 +1,6 | |||
|
1 | 1 | <% if @project.shared_versions.any? %> |
|
2 | 2 | <table class="list versions"> |
|
3 | <thead> | |
|
3 | <thead><tr> | |
|
4 | 4 | <th><%= l(:label_version) %></th> |
|
5 | 5 | <th><%= l(:field_effective_date) %></th> |
|
6 | 6 | <th><%= l(:field_description) %></th> |
@@ -8,7 +8,7 | |||
|
8 | 8 | <th><%= l(:field_sharing) %></th> |
|
9 | 9 | <th><%= l(:label_wiki_page) unless @project.wiki.nil? %></th> |
|
10 | 10 | <th style="width:15%"></th> |
|
11 | </thead> | |
|
11 | </tr></thead> | |
|
12 | 12 | <tbody> |
|
13 | 13 | <% for version in @project.shared_versions.sort %> |
|
14 | 14 | <tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>"> |
@@ -4,12 +4,12 | |||
|
4 | 4 | <div class="splitcontentleft"> |
|
5 | 5 | <% if @user.memberships.any? %> |
|
6 | 6 | <table class="list memberships"> |
|
7 | <thead> | |
|
7 | <thead><tr> | |
|
8 | 8 | <th><%= l(:label_project) %></th> |
|
9 | 9 | <th><%= l(:label_role_plural) %></th> |
|
10 | 10 | <th style="width:15%"></th> |
|
11 | 11 | <%= call_hook(:view_users_memberships_table_header, :user => @user )%> |
|
12 | </thead> | |
|
12 | </tr></thead> | |
|
13 | 13 | <tbody> |
|
14 | 14 | <% @user.memberships.each do |membership| %> |
|
15 | 15 | <% next if membership.new_record? %> |
General Comments 0
You need to be logged in to leave comments.
Login now