Applies the same style to the admin project tree than issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3621 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e8729feba7
commit
ce549933c8
|
@ -26,8 +26,8 @@
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% project_tree(@projects) do |project, level| %>
|
<% project_tree(@projects) do |project, level| %>
|
||||||
<tr class="<%= cycle("odd", "even") %> <%= css_project_classes(project) %>">
|
<tr class="<%= cycle("odd", "even") %> <%= css_project_classes(project) %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
|
||||||
<td class="name" style="padding-left: <%= level %>em;"><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %></td>
|
<td class="name"><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %></td>
|
||||||
<td><%= textilizable project.short_description, :project => project %></td>
|
<td><%= textilizable project.short_description, :project => project %></td>
|
||||||
<td align="center"><%= checked_image project.is_public? %></td>
|
<td align="center"><%= checked_image project.is_public? %></td>
|
||||||
<td align="center"><%= format_date(project.created_on) %></td>
|
<td align="center"><%= format_date(project.created_on) %></td>
|
||||||
|
|
|
@ -110,8 +110,18 @@ table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
|
||||||
table.list td.buttons a { padding-right: 0.6em; }
|
table.list td.buttons a { padding-right: 0.6em; }
|
||||||
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
||||||
|
|
||||||
tr.project td.name a { padding-left: 16px; white-space:nowrap; }
|
tr.project td.name a { white-space:nowrap; }
|
||||||
tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
|
|
||||||
|
tr.project.idnt td.name a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
|
||||||
|
tr.project.idnt-1 td.name {padding-left: 0.5em;}
|
||||||
|
tr.project.idnt-2 td.name {padding-left: 2em;}
|
||||||
|
tr.project.idnt-3 td.name {padding-left: 3.5em;}
|
||||||
|
tr.project.idnt-4 td.name {padding-left: 5em;}
|
||||||
|
tr.project.idnt-5 td.name {padding-left: 6.5em;}
|
||||||
|
tr.project.idnt-6 td.name {padding-left: 8em;}
|
||||||
|
tr.project.idnt-7 td.name {padding-left: 9.5em;}
|
||||||
|
tr.project.idnt-8 td.name {padding-left: 11em;}
|
||||||
|
tr.project.idnt-9 td.name {padding-left: 12.5em;}
|
||||||
|
|
||||||
tr.issue { text-align: center; white-space: nowrap; }
|
tr.issue { text-align: center; white-space: nowrap; }
|
||||||
tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
|
tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
|
||||||
|
|
Loading…
Reference in New Issue