Skip to content

Commit

Permalink
Update flag UI to show check / xmark icon to show included / excluded
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyroberts committed Jul 26, 2024
1 parent 909ebc5 commit 512b9f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions corehq/apps/toggle_ui/templates/toggle/edit_flag.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ <h4>
</button>
</span>
<input class="form-control" type="text" data-bind="value: value">
<!-- ko if: value() && value()[0] == '!' -->
<span class="input-group-addon"><i class="fa fa-circle-xmark"></i></span>
<!-- /ko -->
<!-- ko ifnot: value() && value()[0] == '!' -->
<span class="input-group-addon"><i class="fa fa-check"></i></span>
<!-- /ko -->
</div>
</td>
<!-- B5: replace inline styles with vertical alignment class: https://getbootstrap.com/docs/5.3/utilities/vertical-align/#css -->
Expand Down

0 comments on commit 512b9f7

Please sign in to comment.