summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:59:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-03 09:59:03 +0000
commit49fcec80b7eb42debb749b7eef27b315c137d19f (patch)
tree36c336301429ef1eadd6d47e6031932b8a1a1a00 /app/views/repositories
parent826e978806bbe80d266c1ebdda64fd84b0f5208a (diff)
downloadredmine-49fcec80b7eb42debb749b7eef27b315c137d19f.tar.gz
redmine-49fcec80b7eb42debb749b7eef27b315c137d19f.zip
Reverts r16051 and r16050 for now (#15361).
git-svn-id: http://svn.redmine.org/redmine/trunk@16052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/_revisions.html.erb2
-rw-r--r--app/views/repositories/committers.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/repositories/_revisions.html.erb b/app/views/repositories/_revisions.html.erb
index 84ef2cdd5..9c72204fa 100644
--- a/app/views/repositories/_revisions.html.erb
+++ b/app/views/repositories/_revisions.html.erb
@@ -33,7 +33,7 @@ end %>
<% show_diff = revisions.size > 1 %>
<% line_num = 1 %>
<% 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) %>
<%= content_tag(:td, :class => 'id', :style => id_style) do %>
<%= link_to_revision(changeset, @repository) %>
diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erb
index f23e10252..b942e4b82 100644
--- a/app/views/repositories/committers.html.erb
+++ b/app/views/repositories/committers.html.erb
@@ -17,7 +17,7 @@
<tbody>
<% i = 0 -%>
<% @committers.each do |committer, user_id| -%>
- <tr>
+ <tr class="<%= cycle 'odd', 'even' %>">
<td><%= committer %></td>
<td>
<%= hidden_field_tag "committers[#{i}][]", committer, :id => nil %>