Skip to content

Commit

Permalink
Update rack_elevation.html
Browse files Browse the repository at this point in the history
  • Loading branch information
llamafilm authored Oct 28, 2024
1 parent 5795059 commit 01f9bb2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
data-item-face="{{ face }}">
{% if device.device.device_type.front_image and images %}
<div class="grid-stack-item-content"
style="background-image: url('{{ base_url }}{{ device.device.device_type.front_image.url }}');
style="background-image: url('{{ device.device.device_type.front_image.url }}');
background-size: {{ unit_width }}px;
color: #{% if device.device.role.color %}{{ device.device.role.color|text_color }}{% else %}000000{% endif %}">
{% if labels %}{{ device.device | device_name }}{% endif %}
Expand Down Expand Up @@ -63,7 +63,7 @@
gs-no-move="{% if not request.user|can_change:device.device %}true{% else %}{% endif %}">
{% if device.device.device_type.rear_image and images %}
<div class="grid-stack-item-content device_rear"
style="background-image: url('{{ base_url }}{{ device.device.device_type.rear_image.url }}');
style="background-image: url('{{ device.device.device_type.rear_image.url }}');
background-size: {{ unit_width }}px;
color: #{% if device.device.role.color %}{{ device.device.role.color|text_color }}{% else %}000000{% endif %}">
{% if labels %}{{ device.device | device_name }}{% endif %}
Expand Down

0 comments on commit 01f9bb2

Please sign in to comment.