Skip to content

Commit

Permalink
ifnotequal a b --> if a != b
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-allan authored and jburel committed May 1, 2023
1 parent 58e187f commit 048e826
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -749,12 +749,12 @@ <h1 class="can-collapse defclose" data-name="details">

<table>
{% if manager.tag.getNs %}
{% ifnotequal manager.tag.getNs insight_ns %}
{% if manager.tag.getNs != insight_ns %}
<tr>
<th>Name space:</th>
<td id='namespace'>{{ manager.tag.getNs }}</td>
</tr>
{% endifnotequal %}
{% endif %}
{% endif %}
<tr>
<th>Owner:</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<!-- Otherwise, Use comma-separated list -->
{% else %}
<img src="{% static "webclient/image/info16.png" %}" title="Add items to list, separated by ','" />
<input tabIndex="1" type="text" name="{{ i.key }}" {% ifnotequal i.default None %} value="{{ i.default }}" {% endifnotequal %} />
<input tabIndex="1" type="text" name="{{ i.key }}" {% if i.default is not None %} value="{{ i.default }}" {% endif %} />
{% endif %}
{% else %}
{% if i.options %}
Expand Down Expand Up @@ -79,9 +79,9 @@
<input tabIndex="1" type="checkbox" name="{{ i.key }}" {% if i.default %} checked="True" {% endif %} />
{% else %}
{% if i.number %}
<input tabIndex="1" type="text" name="{{ i.key }}" class="{{ i.number }}" {% ifnotequal i.default None %} value="{{ i.default }}" {% endifnotequal %} />
<input tabIndex="1" type="text" name="{{ i.key }}" class="{{ i.number }}" {% if i.default is not None %} value="{{ i.default }}" {% endif %} />
{% else %}
<input tabIndex="1" type="text" name="{{ i.key }}" {% ifnotequal i.default None %} value="{{ i.default }}" {% endifnotequal %} />
<input tabIndex="1" type="text" name="{{ i.key }}" {% if i.default is not None %} value="{{ i.default }}" {% endif %} />
{% endif %}
{% endif %}
{% endif %}
Expand Down

0 comments on commit 048e826

Please sign in to comment.