From: Go MAEDA Date: Fri, 26 Mar 2021 08:08:22 +0000 (+0000) Subject: No left padding for the first level entries in forums list (#32156). X-Git-Tag: 4.2.0~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=147b4a5ce693fe1c8dd17fbf557d2b8b84dd72cf;p=redmine.git No left padding for the first level entries in forums list (#32156). Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@20857 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/boards/index.html.erb b/app/views/boards/index.html.erb index 89df7aae5..7d0da1696 100644 --- a/app/views/boards/index.html.erb +++ b/app/views/boards/index.html.erb @@ -15,10 +15,14 @@ <% Board.board_tree(@boards) do |board, level| %> - - - <%= link_to board.name, project_board_path(board.project, board), :class => "board" %>
- <%=h board.description %> + <% if level > 0 %> + + <% else %> + + <% end %> + + <%= link_to board.name, project_board_path(board.project, board), :class => "board" %> +

<%= board.description %>

<%= board.topics_count %> <%= board.messages_count %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 0c4102459..fca5f5647 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -281,16 +281,16 @@ table.issues td.block_column {color:#777; font-size:90%; padding:4px 4px 4px 24p table.issues td.block_column span {font-weight: bold; display: block; margin-bottom: 4px;} table.issues td.block_column pre {white-space:normal;} -tr.issue.idnt td.subject, tr.project.idnt td.name {background: url(../images/arrow_right.png) no-repeat 2px 50%;} -tr.issue.idnt-1 td.subject, tr.project.idnt-1 td.name {padding-left: 24px; background-position: 8px 50%;} -tr.issue.idnt-2 td.subject, tr.project.idnt-2 td.name {padding-left: 40px; background-position: 24px 50%;} -tr.issue.idnt-3 td.subject, tr.project.idnt-3 td.name {padding-left: 56px; background-position: 40px 50%;} -tr.issue.idnt-4 td.subject, tr.project.idnt-4 td.name {padding-left: 72px; background-position: 56px 50%;} -tr.issue.idnt-5 td.subject, tr.project.idnt-5 td.name {padding-left: 88px; background-position: 72px 50%;} -tr.issue.idnt-6 td.subject, tr.project.idnt-6 td.name {padding-left: 104px; background-position: 88px 50%;} -tr.issue.idnt-7 td.subject, tr.project.idnt-7 td.name {padding-left: 120px; background-position: 104px 50%;} -tr.issue.idnt-8 td.subject, tr.project.idnt-8 td.name {padding-left: 136px; background-position: 120px 50%;} -tr.issue.idnt-9 td.subject, tr.project.idnt-9 td.name {padding-left: 152px; background-position: 136px 50%;} +tr.idnt td.subject, tr.idnt td.name {background: url(../images/arrow_right.png) no-repeat 2px 50%;} +tr.idnt-1 td.subject, tr.idnt-1 td.name {padding-left: 24px; background-position: 8px 50%;} +tr.idnt-2 td.subject, tr.idnt-2 td.name {padding-left: 40px; background-position: 24px 50%;} +tr.idnt-3 td.subject, tr.idnt-3 td.name {padding-left: 56px; background-position: 40px 50%;} +tr.idnt-4 td.subject, tr.idnt-4 td.name {padding-left: 72px; background-position: 56px 50%;} +tr.idnt-5 td.subject, tr.idnt-5 td.name {padding-left: 88px; background-position: 72px 50%;} +tr.idnt-6 td.subject, tr.idnt-6 td.name {padding-left: 104px; background-position: 88px 50%;} +tr.idnt-7 td.subject, tr.idnt-7 td.name {padding-left: 120px; background-position: 104px 50%;} +tr.idnt-8 td.subject, tr.idnt-8 td.name {padding-left: 136px; background-position: 120px 50%;} +tr.idnt-9 td.subject, tr.idnt-9 td.name {padding-left: 152px; background-position: 136px 50%;} table.issue-report {table-layout:fixed;} .issue-report-graph {width: 75%; margin: 2em 0;}