From c7432daca9a2cfd5ab506552446700932a99bc33 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 11 Nov 2016 01:23:31 +0200 Subject: Try to use country code for purchase_country --- servo/templates/devices/search_gsx_warranty.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/templates/devices') diff --git a/servo/templates/devices/search_gsx_warranty.html b/servo/templates/devices/search_gsx_warranty.html index d56605e..5cee6f0 100755 --- a/servo/templates/devices/search_gsx_warranty.html +++ b/servo/templates/devices/search_gsx_warranty.html @@ -14,7 +14,7 @@
{% trans "Warranty Status" %}
{{ d.get_warranty_status_display }}
{% trans "Purchase Date" %}
-
{{ d.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ d.purchase_country|default:"-" }}
+
{{ d.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ d.get_purchase_country|default:"-" }}
{% trans "Serial Number" %}
{{ d.sn }}
{% trans "Configration" %}
-- cgit v1.2.3