Unverified Commit a7ec9f2c authored by Marco Marinello's avatar Marco Marinello
Browse files

Use django<1.10 syntax refs #659

parent 6e838db1
......@@ -38,7 +38,7 @@
<td>{{hardware.serial_number}}</td>
<td>{{hardware.warranty_expire|date:"Y-m-d"}}</td>
<td>{{hardware.location}}</td>
<td><i>{{hardware.created_by.get_full_name or hardware.created_by.username}}</i></td>
<td><i>{% if hardware.created_by.get_full_name %}{{hardware.created_by.get_full_name}}{% else %}{{hardware.created_by.username}}{% endif %}</i></td>
{% if perms.schools.change_otherhardware %}
<td><a href="{% url 'edit_other_hardware' hw=hardware.id %}"
class="btn btn-sm btn-primary">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment