Highlight the current termination

This commit is contained in:
Jeremy Stretch 2020-11-16 16:07:29 -05:00
parent c559775135
commit 83daadd575
2 changed files with 4 additions and 1 deletions

View File

@ -248,6 +248,9 @@ table.report th a {
width: 60%;
z-index: 2;
}
.cable-trace .active {
border: 3px solid #30C030;
}
.cable-trace .cable {
border-left-style: solid;
border-left-width: 4px;

View File

@ -1,5 +1,5 @@
{% load helpers %}
<div class="termination">
<div class="termination{% if obj == termination %} active{% endif %}">
<strong><a href="{{ termination.get_absolute_url }}">{{ termination }}</a></strong><br />
{{ termination|meta:"verbose_name"|bettertitle }}
{% if termination.type %}