summaryrefslogtreecommitdiffstats
path: root/app/views/boards
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/boards
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/boards')
-rw-r--r--app/views/boards/index.html.erb2
-rw-r--r--app/views/boards/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb
index 21280e1af..29074130b 100644
--- a/app/views/boards/index.html.erb
+++ b/app/views/boards/index.html.erb
@@ -9,7 +9,7 @@
</tr></thead>
<tbody>
<% Board.board_tree(@boards) do |board, level| %>
- <tr>
+ <tr class="<%= cycle 'odd', 'even' %>">
<td class="name" style="padding-left: <%= level * 18 %>px;">
<%= link_to board.name, project_board_path(board.project, board), :class => "board" %><br />
<%=h board.description %>
diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb
index 4a0a588e9..1f58acdc8 100644
--- a/app/views/boards/show.html.erb
+++ b/app/views/boards/show.html.erb
@@ -35,7 +35,7 @@
</tr></thead>
<tbody>
<% @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="author"><%= link_to_user(topic.author) %></td>
<td class="created_on"><%= format_time(topic.created_on) %></td>