1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #728 from digitalocean/develop

Release v1.7.2-r1
This commit is contained in:
Jeremy Stretch
2016-12-06 15:38:52 -05:00
committed by GitHub
3 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ except ImportError:
"the documentation.")
VERSION = '1.7.2'
VERSION = '1.7.2-r1'
# Import local configuration
for setting in ['ALLOWED_HOSTS', 'DATABASE', 'SECRET_KEY']:

0
netbox/tempfile Normal file
View File

View File

@ -21,7 +21,7 @@
<ul class="rack rack_near_face">
{% for u in primary_face %}
{% if u.device %}
<li class="occupied h{{ u.device.device_type.u_height }}u{% ifequal u.device.face face_id %} {{ u.device.device_role.color }}{% endifequal %}">
<li class="occupied h{{ u.device.device_type.u_height }}u"{% ifequal u.device.face face_id %} style="background-color: #{{ u.device.device_role.color }}"{% endifequal %}>
{% ifequal u.device.face face_id %}
<a href="{% url 'dcim:device' pk=u.device.pk %}" data-toggle="popover" data-trigger="hover" data-container="body" data-html="true"
data-content="{{ u.device.device_role }}<br />{{ u.device.device_type }} ({{ u.device.device_type.u_height }}U)">