Skip to content

Commit

Permalink
added condition button
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjpilbdev committed Jun 4, 2024
1 parent 89b45a9 commit e79229d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h4 class="panel-title pull-left">{{ title }}</h4>
<button type="button" class="btn btn-default btn-sm" data-toggle="modal" data-target="#showHosts" title="Show plain host names">
Show Hosts
</button>
{% if title is not "Failed Hosts" and show_protected_hosts is None %}
{% if title != "Failed Hosts" and show_protected_hosts is None %}
<p><a href="/env/{{ env.envName }}/{{stage}}/hosts/?show_protected_hosts"> <button class="btn btn-primary" >Show protected hosts</button> </a></p>
{% endif %}
</div>
Expand Down

0 comments on commit e79229d

Please sign in to comment.