summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-31 17:17:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-31 17:17:52 +0000
commitbc153cb61df37e2097c5bec529cabdb15e6887bf (patch)
tree05be0525dc3258c00349e7cc6b5ab333ca4139c0 /app/views/projects
parent9554f0133ff634264eb110c91ad317be28e6dd32 (diff)
downloadredmine-bc153cb61df37e2097c5bec529cabdb15e6887bf.tar.gz
redmine-bc153cb61df37e2097c5bec529cabdb15e6887bf.zip
Support for subforums (#3831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/settings/_boards.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/settings/_boards.html.erb b/app/views/projects/settings/_boards.html.erb
index 1d095c232..1050ef70c 100644
--- a/app/views/projects/settings/_boards.html.erb
+++ b/app/views/projects/settings/_boards.html.erb
@@ -7,10 +7,10 @@
<th></th>
</tr></thead>
<tbody>
-<% @project.boards.each do |board|
+<% Board.board_tree(@project.boards) do |board, level|
next if board.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
- <td><%= link_to board.name, project_board_path(@project, board) %></td>
+ <td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
<td><%=h board.description %></td>
<td align="center">
<% if authorize_for("boards", "edit") %>