aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
Diffstat (limited to 'servo')
-rwxr-xr-xservo/templates/devices/search_gsx_warranty.html8
-rwxr-xr-xservo/templates/orders/devices.html10
2 files changed, 10 insertions, 8 deletions
diff --git a/servo/templates/devices/search_gsx_warranty.html b/servo/templates/devices/search_gsx_warranty.html
index e278001..d56605e 100755
--- a/servo/templates/devices/search_gsx_warranty.html
+++ b/servo/templates/devices/search_gsx_warranty.html
@@ -23,13 +23,13 @@
<dt>{% trans "IMEI" %}</dt>
<dd>{{ d.imei|safe }}</dd>
<dt>{% trans "Applied Activation Policy" %}</dt>
- <dd>{{ d.applied_activation_policy }}</dd>
+ <dd>{{ d.applied_activation_policy|default:"-" }}</dd>
<dt>{% trans "Initial Activation Policy" %}</dt>
- <dd>{{ d.initial_activation_policy }}</dd>
+ <dd>{{ d.initial_activation_policy|default:"-" }}</dd>
<dt>{% trans "Next Tether Policy" %}</dt>
- <dd>{{ d.next_tether_policy }}</dd>
+ <dd>{{ d.next_tether_policy|default:"-" }}</dd>
<dt>{% trans "Find My iPhone" %}</dt>
- <dd>{{ d.get_fmip_status }}</dd>
+ <dd>{{ d.get_fmip_status|default:"-" }}</dd>
<dt>{% trans "Unlocked" %}</dt>
<dd>{{ d.unlocked|yesno }}</dd>
{% endif %}
diff --git a/servo/templates/orders/devices.html b/servo/templates/orders/devices.html
index 271a4ec..a21e256 100755
--- a/servo/templates/orders/devices.html
+++ b/servo/templates/orders/devices.html
@@ -25,13 +25,15 @@
{% endif %}
{% if device.imei %}
<dt>{% trans "IMEI" %}</dt>
- <dd>{{ device.imei }}</dd>
+ <dd>{{ device.imei|safe }}</dd>
<dt>{% trans "Applied Activation Policy" %}</dt>
- <dd>{{ device.applied_activation_policy }}</dd>
+ <dd>{{ device.applied_activation_policy|default:"-" }}</dd>
<dt>{% trans "Initial Activation Policy" %}</dt>
- <dd>{{ device.initial_activation_policy }}</dd>
+ <dd>{{ device.initial_activation_policy|default:"-" }}</dd>
+ <dt>{% trans "Next Tether Policy" %}</dt>
+ <dd>{{ device.next_tether_policy|default:"-" }}</dd>
<dt>{% trans "Find My iPhone" %}</dt>
- <dd>{{ device.get_fmip_status }}</dd>
+ <dd>{{ device.get_fmip_status|default:"-" }}</dd>
<dt>{% trans "Unlocked" %}</dt>
<dd>{{ device.unlocked|yesno }}</dd>
{% endif %}