From b4cabadcd9e991902fb9bcf8f1a83cf0ffa90436 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 4 Aug 2017 10:05:43 -0500 Subject: [PATCH] Fix row highlighting for sources panel on product view --- tailbone/templates/products/view.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/templates/products/view.mako b/tailbone/templates/products/view.mako index 5abc4d6d..4be1a675 100644 --- a/tailbone/templates/products/view.mako +++ b/tailbone/templates/products/view.mako @@ -188,8 +188,8 @@ Status - % for cost in instance.costs: - + % for i, cost in enumerate(instance.costs, 1): + ${'X' if cost.preference == 1 else ''} ${cost.vendor} ${cost.code or ''}