Actions
Feature #3122
closedSubforums
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Forums
Target version:
-
Start date:
2009-04-05
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
I think it would be good for the forums of subprojects to appear below the forums listing of their parent project, to make things easier to find and more centralized.
Maybe others can expand or refine the example image I attached if interested.
Files
Related issues
Updated by Vianney Lecroart over 15 years ago
I wanted this too, so I created a very ugly hack that do the job :)
I used the forum description to see if we need to display the forum as a subforum and/or add spaces to do a separation.
- 1 space at the beginning of the description => subforum
- 2 spaces at the beginning of the description => subforum + separation with the next forum
- 3 spaces at the beginning of the description => separation with the next forum
Modified file is: redmine/app/views/boards/index.rhtml
Index: index.rhtml =================================================================== --- index.rhtml (revision 2819) +++ index.rhtml (working copy) @@ -10,7 +10,7 @@ <tbody> <% for board in @boards %> <tr class="<%= cycle 'odd', 'even' %>"> - <td> + <td <%= if board.description[0].chr==" " && board.description[2].chr!=" " then "style='padding-left:50px;'" end %> > <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "icon22 icon22-comment" %><br /> <%=h board.description %> </td> @@ -25,6 +25,7 @@ </small> </td> </tr> +<%= if board.description[1].chr==" " then "<tr class='even'><td> </td><td></td><td></td><td></td></tr>" end %> <% end %> </tbody> </table>
Updated by Mischa The Evil almost 15 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Dup. of #3831.
Actions