Fix row highlighting for sources panel on product view

This commit is contained in:
Lance Edgar 2017-08-04 10:05:43 -05:00
parent ea7eb47551
commit b4cabadcd9

View file

@ -188,8 +188,8 @@
<th>Status</th>
</thead>
<tbody>
% for cost in instance.costs:
<tr>
% for i, cost in enumerate(instance.costs, 1):
<tr class="${'even' if i % 2 == 0 else 'odd'}">
<td class="center">${'X' if cost.preference == 1 else ''}</td>
<td>${cost.vendor}</td>
<td class="center">${cost.code or ''}</td>