diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/devices/search_gsx_repairs.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/devices/search_gsx_repairs.html')
-rwxr-xr-x | servo/templates/devices/search_gsx_repairs.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/servo/templates/devices/search_gsx_repairs.html b/servo/templates/devices/search_gsx_repairs.html new file mode 100755 index 0000000..6cb9f7f --- /dev/null +++ b/servo/templates/devices/search_gsx_repairs.html @@ -0,0 +1,27 @@ +{% load i18n %} +<table class="table table-hover"> + <thead> + <tr> + <th>{% trans "Number" %}</th> + <th>{% trans "Reference" %}</th> + <th>{% trans "Created" %}</th> + <th>{% trans "Customer" %}</th> + <th>{% trans "Status" %}</th> + </tr> + </thead> + <tbody> + {% for r in results %} + <tr> + {% with r.repairConfirmationNumber as repconf %} + <td><a href="{% url 'repairs-get_details' repconf %}" data-modal="#modal">{{ repconf }}</a></td> + {% endwith %} + <td>{{ r.purchaseOrderNumber|safe }}</td> + <td>{{ r.createdOn }}</td> + <td>{{ r.customerName }}</td> + <td>{{ r.repairStatus }}</td> + </tr> + {% empty %} + <tr><td colspan="5" class="muted text-center">{% trans "No search results" %}</td></tr> + {% endfor %} + </tbody> +</table> |