Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Commit

Permalink
Display N/A for Insecure Services if no deb packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
a-martynovich committed Sep 2, 2019
1 parent 14495b0 commit d043620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/device_registry/templates/device_info_security.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ <h4 class="tab-title">Security</h4>
<li>{{ service_name }}</p>
{% endfor %}
</ul>
{% else %}
{% elif services is not None %}
No insecure services detected.
{% else %}
N/A
{% endif %}
{% endwith %}
</td>
Expand Down

0 comments on commit d043620

Please sign in to comment.