Skip to content

Commit

Permalink
pr suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjpilbdev committed Jun 4, 2024
1 parent 59c624b commit bc4befa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions deploy-board/deploy_board/templates/host_side_panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ <h4 class="panel-title pull-left">Hosts</h4>
{% if pinterest %}
<div class="row">
<p>
{% if not instance_protected %}
Host is not protected.
{% else %}
{% if instance_protected %}
Host is protected.
{% endif %}
</p>
Expand Down
4 changes: 1 addition & 3 deletions deploy-board/deploy_board/templates/hosts/hosts.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<th>LastUpdate</th>
<th>ErrorCode</th>
{% if show_protection_status %}
<th>Protected</th>
<th>ProtectionStatus</th>
{% endif %}
</tr>
{% for agent in agents %}
Expand Down Expand Up @@ -90,8 +90,6 @@
<td>
{% if agent.hostId in protected_hosts %}
Protected
{% else %}
Not protected
{% endif %}
</td>
{% endif %}
Expand Down

0 comments on commit bc4befa

Please sign in to comment.