aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/devices/search_gsx_warranty.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-11-11 01:23:31 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-11-11 01:23:31 +0200
commitc7432daca9a2cfd5ab506552446700932a99bc33 (patch)
treee028a0d398b9bcf24d16afb7f47e8f84efdd5615 /servo/templates/devices/search_gsx_warranty.html
parent21ea1c543918660eaf2d85b3760746557ece039c (diff)
downloadServo-c7432daca9a2cfd5ab506552446700932a99bc33.tar.gz
Servo-c7432daca9a2cfd5ab506552446700932a99bc33.tar.bz2
Servo-c7432daca9a2cfd5ab506552446700932a99bc33.zip
Try to use country code for purchase_country
Diffstat (limited to 'servo/templates/devices/search_gsx_warranty.html')
-rwxr-xr-xservo/templates/devices/search_gsx_warranty.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<dt>{% trans "Warranty Status" %}</dt>
<dd>{{ d.get_warranty_status_display }}</dd>
<dt>{% trans "Purchase Date" %}</dt>
- <dd>{{ d.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ d.purchase_country|default:"-" }}</dd>
+ <dd>{{ d.purchased_on|date:"SHORT_DATE_FORMAT"|default:"-" }}, {{ d.get_purchase_country|default:"-" }}</dd>
<dt>{% trans "Serial Number" %}</dt>
<dd>{{ d.sn }}</dd>
<dt>{% trans "Configration" %}</dt>