Fix row highlighting for sources panel on product view
This commit is contained in:
parent
ea7eb47551
commit
b4cabadcd9
|
@ -188,8 +188,8 @@
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
% for cost in instance.costs:
|
% for i, cost in enumerate(instance.costs, 1):
|
||||||
<tr>
|
<tr class="${'even' if i % 2 == 0 else 'odd'}">
|
||||||
<td class="center">${'X' if cost.preference == 1 else ''}</td>
|
<td class="center">${'X' if cost.preference == 1 else ''}</td>
|
||||||
<td>${cost.vendor}</td>
|
<td>${cost.vendor}</td>
|
||||||
<td class="center">${cost.code or ''}</td>
|
<td class="center">${cost.code or ''}</td>
|
||||||
|
|
Loading…
Reference in a new issue