Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
octomon
Commits
a7ec9f2c
Unverified
Commit
a7ec9f2c
authored
Nov 09, 2018
by
Marco Marinello
Browse files
Use django<1.10 syntax refs
#659
parent
6e838db1
Changes
1
Show whitespace changes
Inline
Side-by-side
schools/templates/schools/other_hardware.html
View file @
a7ec9f2c
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment