##// END OF EJS Templates
Use fixed layout and move status to its own column....
Jean-Philippe Lang -
r15547:6ef3ecc030cf
parent child
Show More
@@ -1,23 +1,23
1 <% if issues && issues.any? %>
1 <% if issues && issues.any? %>
2 <%= form_tag({}) do %>
2 <%= form_tag({}) do %>
3 <table class="list issues">
3 <table class="list list-simple issues">
4 <thead><tr>
4 <thead><tr>
5 <th>#</th>
5 <th class="id">#</th>
6 <th><%=l(:field_project)%></th>
6 <th class="project"><%=l(:field_project)%></th>
7 <th><%=l(:field_tracker)%></th>
7 <th class="status"><%=l(:field_status)%></th>
8 <th><%=l(:field_subject)%></th>
8 <th class="subject"><%=l(:field_subject)%></th>
9 </tr></thead>
9 </tr></thead>
10 <tbody>
10 <tbody>
11 <% for issue in issues %>
11 <% for issue in issues %>
12 <tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
12 <tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
13 <td class="id">
13 <td class="id">
14 <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
14 <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
15 <%= link_to(issue.id, issue_path(issue)) %>
15 <%= link_to("#{issue.tracker} ##{issue.id}", issue_path(issue)) %>
16 </td>
16 </td>
17 <td class="project"><%= link_to_project(issue.project) %></td>
17 <td class="project"><%= link_to_project(issue.project) %></td>
18 <td class="tracker"><%= issue.tracker %></td>
18 <td class="status"><%= issue.status %></td>
19 <td class="subject">
19 <td class="subject">
20 <%= link_to(issue.subject.truncate(60), issue_path(issue)) %> (<%= issue.status %>)
20 <span><%= link_to(issue.subject, issue_path(issue)) %></span>
21 </td>
21 </td>
22 </tr>
22 </tr>
23 <% end %>
23 <% end %>
@@ -295,6 +295,11 table.boards td.last-message {text-align:left;font-size:80%;}
295
295
296 div.table-list.boards .table-list-cell.name {width: 30%;}
296 div.table-list.boards .table-list-cell.name {width: 30%;}
297
297
298 #content table.list-simple {table-layout:fixed;}
299 #content table.list-simple td {white-space:nowrap; overflow:hidden; text-overflow: ellipsis; text-align:left;}
300 #content table.list-simple th.id, #content table.list-simple th.project {width:18%;}
301 #content table.list-simple th.status {width:14%;}
302
298 table.messages td.last_message {text-align:left;}
303 table.messages td.last_message {text-align:left;}
299
304
300 #query_form_content {font-size:90%;}
305 #query_form_content {font-size:90%;}
General Comments 0
You need to be logged in to leave comments. Login now