GitLab wurde erfolgreich aktualisiert. Durch regelmäßige Updates bleibt das THM GitLab sicher. Danke für Ihre Geduld.

Commit cd0f618f authored by jplang's avatar jplang

Reverts r16051 and r16050 for now (#15361).

git-svn-id: https://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4d21d1cb
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<table class="list"> <table class="list">
<% @checklist.each do |label, result| %> <% @checklist.each do |label, result| %>
<tr> <tr class="<%= cycle 'odd', 'even' %>">
<td class="name"><%= label.is_a?(Symbol) ? l(label) : label %></td> <td class="name"><%= label.is_a?(Symbol) ? l(label) : label %></td>
<td class="tick"><span class="icon-only <%= (result ? 'icon-ok' : 'icon-error') %>"></span></td> <td class="tick"><span class="icon-only <%= (result ? 'icon-ok' : 'icon-error') %>"></span></td>
</tr> </tr>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<% if @plugins.any? %> <% if @plugins.any? %>
<table class="list plugins"> <table class="list plugins">
<% @plugins.each do |plugin| %> <% @plugins.each do |plugin| %>
<tr id="plugin-<%= plugin.id %>"> <tr id="plugin-<%= plugin.id %>" class="<%= cycle('odd', 'even') %>">
<td class="name"><span class="name"><%= plugin.name %></span> <td class="name"><span class="name"><%= plugin.name %></span>
<%= content_tag('span', plugin.description, :class => 'description') unless plugin.description.blank? %> <%= content_tag('span', plugin.description, :class => 'description') unless plugin.description.blank? %>
<%= content_tag('span', link_to(plugin.url, plugin.url), :class => 'url') unless plugin.url.blank? %> <%= content_tag('span', link_to(plugin.url, plugin.url), :class => 'url') unless plugin.url.blank? %>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% project_tree(@projects, :init_level => true) do |project, level| %> <% project_tree(@projects, :init_level => true) do |project, level| %>
<tr class="<%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <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 class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td>
<td><%= checked_image project.is_public? %></td> <td><%= checked_image project.is_public? %></td>
<td><%= format_date(project.created_on) %></td> <td><%= format_date(project.created_on) %></td>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for source in @auth_sources %> <% for source in @auth_sources %>
<tr id="auth-source-<%= source.id %>"> <tr id="auth-source-<%= source.id %>" class="<%= cycle("odd", "even") %>">
<td class="name"><%= link_to(source.name, :action => 'edit', :id => source)%></td> <td class="name"><%= link_to(source.name, :action => 'edit', :id => source)%></td>
<td><%= source.auth_method_name %></td> <td><%= source.auth_method_name %></td>
<td><%= source.host %></td> <td><%= source.host %></td>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% Board.board_tree(@boards) do |board, level| %> <% Board.board_tree(@boards) do |board, level| %>
<tr> <tr class="<%= cycle 'odd', 'even' %>">
<td class="name" style="padding-left: <%= level * 18 %>px;"> <td class="name" style="padding-left: <%= level * 18 %>px;">
<%= link_to board.name, project_board_path(board.project, board), :class => "board" %><br /> <%= link_to board.name, project_board_path(board.project, board), :class => "board" %><br />
<%=h board.description %> <%=h board.description %>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% @topics.each do |topic| %> <% @topics.each do |topic| %>
<tr id="message-<%= topic.id %>" class="message <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>"> <tr id="message-<%= topic.id %>" class="message <%= cycle 'odd', 'even' %> <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>">
<td class="subject icon <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>"><%= link_to topic.subject, board_message_path(@board, topic) %></td> <td class="subject icon <%= 'icon-sticky' if topic.sticky? %> <%= 'icon-locked' if topic.locked? %>"><%= link_to topic.subject, board_message_path(@board, topic) %></td>
<td class="author"><%= link_to_user(topic.author) %></td> <td class="author"><%= link_to_user(topic.author) %></td>
<td class="created_on"><%= format_time(topic.created_on) %></td> <td class="created_on"><%= format_time(topic.created_on) %></td>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<tbody> <tbody>
<% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
<% back_url = custom_fields_path(:tab => tab[:name]) %> <% back_url = custom_fields_path(:tab => tab[:name]) %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"><%= link_to custom_field.name, edit_custom_field_path(custom_field) %></td> <td class="name"><%= link_to custom_field.name, edit_custom_field_path(custom_field) %></td>
<td><%= l(custom_field.format.label) %></td> <td><%= l(custom_field.format.label) %></td>
<td><%= checked_image custom_field.is_required? %></td> <td><%= checked_image custom_field.is_required? %></td>
...@@ -25,6 +25,6 @@ ...@@ -25,6 +25,6 @@
<%= delete_link custom_field_path(custom_field) %> <%= delete_link custom_field_path(custom_field) %>
</td> </td>
</tr> </tr>
<% end %> <% end; reset_cycle %>
</tbody> </tbody>
</table> </table>
<% if @addresses.present? %> <% if @addresses.present? %>
<table class="list email_addresses"> <table class="list email_addresses">
<% @addresses.each do |address| %> <% @addresses.each do |address| %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="email"><%= address.address %></td> <td class="email"><%= address.address %></td>
<td class="buttons"> <td class="buttons">
<%= toggle_email_address_notify_link(address) %> <%= toggle_email_address_notify_link(address) %>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<th></th> <th></th>
</tr></thead> </tr></thead>
<% enumerations.each do |enumeration| %> <% enumerations.each do |enumeration| %>
<tr> <tr class="<%= cycle('odd', 'even') %>">
<td class="name"><%= link_to enumeration, edit_enumeration_path(enumeration) %></td> <td class="name"><%= link_to enumeration, edit_enumeration_path(enumeration) %></td>
<td class="tick"><%= checked_image enumeration.is_default? %></td> <td class="tick"><%= checked_image enumeration.is_default? %></td>
<td class="tick"><%= checked_image enumeration.active? %></td> <td class="tick"><%= checked_image enumeration.active? %></td>
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
</tr> </tr>
<% end %> <% end %>
</table> </table>
<% reset_cycle %>
<% end %> <% end %>
<p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p> <p><%= link_to l(:label_enumeration_new), new_enumeration_path(:type => klass.name) %></p>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</tr> </tr>
<% end -%> <% end -%>
<% container.attachments.each do |file| %> <% container.attachments.each do |file| %>
<tr class="file"> <tr class="file <%= cycle("odd", "even") %>">
<td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td> <td class="filename"><%= link_to_attachment file, :download => true, :title => file.description %></td>
<td class="created_on"><%= format_time(file.created_on) %></td> <td class="created_on"><%= format_time(file.created_on) %></td>
<td class="filesize"><%= number_to_human_size(file.filesize) %></td> <td class="filesize"><%= number_to_human_size(file.filesize) %></td>
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %>
</td> </td>
</tr> </tr>
<% end %> <% end
reset_cycle %>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% @group.users.sort.each do |user| %> <% @group.users.sort.each do |user| %>
<tr id="user-<%= user.id %>"> <tr id="user-<%= user.id %>" class="<%= cycle 'odd', 'even' %>">
<td class="name"><%= link_to_user user %></td> <td class="name"><%= link_to_user user %></td>
<td class="buttons"> <td class="buttons">
<%= delete_link group_user_path(@group, :user_id => user), :remote => true %> <%= delete_link group_user_path(@group, :user_id => user), :remote => true %>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% @groups.each do |group| %> <% @groups.each do |group| %>
<tr id="group-<%= group.id %>" class="<%= "builtin" if group.builtin? %>"> <tr id="group-<%= group.id %>" class="<%= cycle 'odd', 'even' %> <%= "builtin" if group.builtin? %>">
<td class="name"><%= link_to group, edit_group_path(group) %></td> <td class="name"><%= link_to group, edit_group_path(group) %></td>
<td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td> <td class="user_count"><%= (@user_count_by_group_id[group.id] || 0) unless group.builtin? %></td>
<td class="buttons"><%= delete_link group unless group.builtin? %></td> <td class="buttons"><%= delete_link group unless group.builtin? %></td>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for status in @issue_statuses %> <% for status in @issue_statuses %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"><%= link_to status.name, edit_issue_status_path(status) %></td> <td class="name"><%= link_to status.name, edit_issue_status_path(status) %></td>
<% if Issue.use_status_for_done_ratio? %> <% if Issue.use_status_for_done_ratio? %>
<td><%= status.default_done_ratio %></td> <td><%= status.default_done_ratio %></td>
......
<% changesets.each do |changeset| %> <% changesets.each do |changeset| %>
<div class="changeset"> <div class="changeset <%= cycle('odd', 'even') %>">
<p><%= link_to_revision(changeset, changeset.repository, <p><%= link_to_revision(changeset, changeset.repository,
:text => "#{l(:label_revision)} #{changeset.format_identifier}") %> :text => "#{l(:label_revision)} #{changeset.format_identifier}") %>
<% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %> <% if changeset.filechanges.any? && User.current.allowed_to?(:browse_repository, changeset.project) %>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<tbody> <tbody>
<% grouped_issue_list(issues, @query, @issue_count_by_group) do |issue, level, group_name, group_count, group_totals| -%> <% grouped_issue_list(issues, @query, @issue_count_by_group) do |issue, level, group_name, group_count, group_totals| -%>
<% if group_name %> <% if group_name %>
<% reset_cycle %>
<tr class="group open"> <tr class="group open">
<td colspan="<%= query.inline_columns.size + 1 %>"> <td colspan="<%= query.inline_columns.size + 1 %>">
<span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span> <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
...@@ -25,7 +26,7 @@ ...@@ -25,7 +26,7 @@
</td> </td>
</tr> </tr>
<% end %> <% end %>
<tr id="issue-<%= issue.id %>" class="hascontextmenu <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td> <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
<%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %> <%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %>
</tr> </tr>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for issue in issues %> <% for issue in issues %>
<tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= issue.css_classes %>"> <tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
<td class="id"> <td class="id">
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %> <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
<%= link_to("#{issue.tracker} ##{issue.id}", issue_path(issue)) %> <%= link_to("#{issue.tracker} ##{issue.id}", issue_path(issue)) %>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<tbody> <tbody>
<% principal.memberships.preload(:member_roles => :role).each do |membership| %> <% principal.memberships.preload(:member_roles => :role).each do |membership| %>
<% next if membership.new_record? %> <% next if membership.new_record? %>
<tr id="member-<%= membership.id %>" class="class"> <tr id="member-<%= membership.id %>" class="<%= cycle 'odd', 'even' %> class">
<td class="project name"> <td class="project name">
<%= link_to_project membership.project %> <%= link_to_project membership.project %>
</td> </td>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</td> </td>
<%= call_table_row_hook principal, membership %> <%= call_table_row_hook principal, membership %>
</tr> </tr>
<% end %> <% end; reset_cycle %>
</tbody> </tbody>
</table> </table>
<% else %> <% else %>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<% @project.activities(true).each do |enumeration| %> <% @project.activities(true).each do |enumeration| %>
<%= fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %> <%= fields_for "enumerations[#{enumeration.id}]", enumeration do |ff| %>
<tr> <tr class="<%= cycle('odd', 'even') %>">
<td class="name"> <td class="name">
<%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %> <%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %>
<%= enumeration %> <%= enumeration %>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="table-list-cell"><%= l(:label_board) %></div> <div class="table-list-cell"><%= l(:label_board) %></div>
</div> </div>
<%= render_boards_tree(@project.boards) do |board, level| %> <%= render_boards_tree(@project.boards) do |board, level| %>
<div class="table-list-row"> <div class="table-list-row <%= cycle 'odd', 'even' %>">
<div class="table-list-cell name" style="padding-left: <%= 2 + level * 16 %>px"> <div class="table-list-cell name" style="padding-left: <%= 2 + level * 16 %>px">
<%= link_to board.name, project_board_path(@project, board) %> <%= link_to board.name, project_board_path(@project, board) %>
</div> </div>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<tbody> <tbody>
<% for category in @project.issue_categories %> <% for category in @project.issue_categories %>
<% unless category.new_record? %> <% unless category.new_record? %>
<tr> <tr class="<%= cycle 'odd', 'even' %>">
<td class="name"><%= category.name %></td> <td class="name"><%= category.name %></td>
<td><%= category.assigned_to.name if category.assigned_to %></td> <td><%= category.assigned_to.name if category.assigned_to %></td>
<td class="buttons"> <td class="buttons">
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<tbody> <tbody>
<% members.each do |member| %> <% members.each do |member| %>
<% next if member.new_record? %> <% next if member.new_record? %>
<tr id="member-<%= member.id %>" class="member"> <tr id="member-<%= member.id %>" class="<%= cycle 'odd', 'even' %> member">
<td class="name icon icon-<%= member.principal.class.name.downcase %>"><%= link_to_user member.principal %></td> <td class="name icon icon-<%= member.principal.class.name.downcase %>"><%= link_to_user member.principal %></td>
<td class="roles"> <td class="roles">
<span id="member-<%= member.id %>-roles"><%= member.roles.sort.collect(&:to_s).join(', ') %></span> <span id="member-<%= member.id %>-roles"><%= member.roles.sort.collect(&:to_s).join(', ') %></span>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</td> </td>
<%= call_hook(:view_projects_settings_members_table_row, { :project => @project, :member => member}) %> <%= call_hook(:view_projects_settings_members_table_row, { :project => @project, :member => member}) %>
</tr> </tr>
<% end %> <% end; reset_cycle %>
</tbody> </tbody>
</table> </table>
<% else %> <% else %>
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
</thead> </thead>
<tbody> <tbody>
<% @project.repositories.sort.each do |repository| %> <% @project.repositories.sort.each do |repository| %>
<tr> <tr class="<%= cycle 'odd', 'even' %>">
<td class="name"> <td class="name">
<%= link_to repository.identifier, <%= link_to repository.identifier,
{:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %> {:controller => 'repositories', :action => 'show',:id => @project, :repository_id => repository.identifier_param} if repository.identifier.present? %>
</td> </td>
<td><%= checked_image repository.is_default? %></td> <td><%= checked_image repository.is_default? %></td>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% @versions.sort.each do |version| %> <% @versions.sort.each do |version| %>
<tr class="version <%=h version.status %> <%= 'shared' if version.project != @project %>"> <tr class="version <%= cycle 'odd', 'even' %> <%=h version.status %> <%= 'shared' if version.project != @project %>">
<td class="name <%= 'icon icon-shared' if version.project != @project %>"><%= link_to_version version %></td> <td class="name <%= 'icon icon-shared' if version.project != @project %>"><%= link_to_version version %></td>
<td class="date"><%= format_date(version.effective_date) %></td> <td class="date"><%= format_date(version.effective_date) %></td>
<td class="description"><%= version.description %></td> <td class="description"><%= version.description %></td>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<% end %> <% end %>
</td> </td>
</tr> </tr>
<% end %> <% end; reset_cycle %>
</tbody> </tbody>
</table> </table>
<% else %> <% else %>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</thead> </thead>
<tbody> <tbody>
<% @trackers.each do |tracker| %> <% @trackers.each do |tracker| %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"> <td class="name">
<%= link_to tracker.name, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %> <%= link_to tracker.name, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>
</td> </td>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<% else %> <% else %>
<table class="list"> <table class="list">
<% @queries.each do |query| %> <% @queries.each do |query| %>
<tr> <tr class="<%= cycle('odd', 'even') %>">
<td class="name"> <td class="name">
<%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %> <%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
</td> </td>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for row in rows %> <% for row in rows %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td>
<% for status in @statuses %> <% for status in @statuses %>
<td><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td> <td><%= aggregate_link data, { field_name => row.id, "status_id" => status.id }, aggregate_path(@project, field_name, row, :status_id => status.id) %></td>
...@@ -25,4 +25,5 @@ ...@@ -25,4 +25,5 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
<% end %> <% end
reset_cycle %>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</tr></thead> </tr></thead>
<tbody> <tbody>
<% for row in rows %> <% for row in rows %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td> <td class="name"><%= link_to row.name, aggregate_path(@project, field_name, row) %></td>
<td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 0 }, aggregate_path(@project, field_name, row, :status_id => "o") %></td>
<td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td> <td><%= aggregate_link data, { field_name => row.id, "closed" => 1 }, aggregate_path(@project, field_name, row, :status_id => "c") %></td>
...@@ -19,4 +19,5 @@ ...@@ -19,4 +19,5 @@
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
<% end %> <% end
reset_cycle %>
...@@ -33,7 +33,7 @@ end %> ...@@ -33,7 +33,7 @@ end %>
<% show_diff = revisions.size > 1 %> <% show_diff = revisions.size > 1 %>
<% line_num = 1 %> <% line_num = 1 %>
<% revisions.each do |changeset| %> <% revisions.each do |changeset| %>
<tr class="changeset"> <tr class="changeset <%= cycle 'odd', 'even' %>">
<% id_style = (show_revision_graph ? "padding-left:#{(graph_space + 1) * 20}px" : nil) %> <% id_style = (show_revision_graph ? "padding-left:#{(graph_space + 1) * 20}px" : nil) %>
<%= content_tag(:td, :class => 'id', :style => id_style) do %> <%= content_tag(:td, :class => 'id', :style => id_style) do %>
<%= link_to_revision(changeset, @repository) %> <%= link_to_revision(changeset, @repository) %>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<tbody> <tbody>
<% i = 0 -%> <% i = 0 -%>
<% @committers.each do |committer, user_id| -%> <% @committers.each do |committer, user_id| -%>
<tr> <tr class="<%= cycle 'odd', 'even' %>">
<td><%= committer %></td> <td><%= committer %></td>
<td> <td>
<%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %> <%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %>
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<% end %> <% end %>
</tr> </tr>
<% Tracker.sorted.all.each do |tracker| %> <% Tracker.sorted.all.each do |tracker| %>
<tr> <tr class="<%= cycle("odd", "even") %>">
<td class="name"><%= tracker.name %></td> <td class="name"><%= tracker.name %></td>
<% permissions.each do |permission| %> <% permissions.each do |permission| %>
<td class="<%= "#{permission}_shown" %>"><%= check_box_tag "role[permissions_tracker_ids][#{permission}][]", <td class="<%= "#{permission}_shown" %>"><%= check_box_tag "role[permissions_tracker_ids][#{permission}][]",
......