Skip to content

Commit

Permalink
Prettier and Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bizz committed Dec 7, 2023
1 parent ec8b38b commit 7baab08
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@
/>
<label
*ngIf="praxisType !== 'openness'"
class="form-check-label" for="{{ negativeInputId }}"
>Exclude {{ name }} Selected</label>
class="form-check-label"
for="{{ negativeInputId }}"
>Exclude {{ name }} Selected</label
>
<label
*ngIf="praxisType === 'openness'"
class="form-check-label" for="{{ negativeInputId }}"
>Exclude Praxis Selected</label>
class="form-check-label"
for="{{ negativeInputId }}"
>Exclude Praxis Selected</label
>
</div>
</div>
</div>
Expand Down
40 changes: 33 additions & 7 deletions src/app/components/tool-group/tool-group.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,19 @@
</button>
<button
*ngIf="toolGroup['rules-language'].length === 1"
(click)="openRuleModal(toolGroup['rules-language'][0], 'language')"
(click)="
openRuleModal(toolGroup['rules-language'][0], 'language')
"
class="btn btn-secondary"
>
<i class="fa fa-file"></i> Edit language rule
</button>
</div>
<div *ngIf="toolGroup['rules-language'].length > 1" class="list-group-item pt-1 pb-1 bg-warning" style="line-height: 1">
<div
*ngIf="toolGroup['rules-language'].length > 1"
class="list-group-item pt-1 pb-1 bg-warning"
style="line-height: 1"
>
<small>Multiple Rules</small>
</div>

Expand All @@ -61,7 +67,11 @@
</button>
</li>

<li *ngIf="rule['negative-rule']" class="list-group-item pt-1 pb-1 bg-danger" style="line-height: 1">
<li
*ngIf="rule['negative-rule']"
class="list-group-item pt-1 pb-1 bg-danger"
style="line-height: 1"
>
<small class="text-white">Exclude these languages</small>
</li>

Expand Down Expand Up @@ -102,7 +112,11 @@
<i class="fa fa-file"></i> Edit country rule
</button>
</div>
<div *ngIf="toolGroup['rules-country'].length > 1" class="list-group-item pt-1 pb-1 bg-warning" style="line-height: 1">
<div
*ngIf="toolGroup['rules-country'].length > 1"
class="list-group-item pt-1 pb-1 bg-warning"
style="line-height: 1"
>
<small>Multiple Rules</small>
</div>

Expand All @@ -122,7 +136,11 @@
<i class="fa fa-pencil"></i> Edit
</button>
</li>
<li *ngIf="rule['negative-rule']" class="list-group-item pt-1 pb-1 bg-danger" style="line-height: 1">
<li
*ngIf="rule['negative-rule']"
class="list-group-item pt-1 pb-1 bg-danger"
style="line-height: 1"
>
<small class="text-white">Exclude these countries</small>
</li>

Expand Down Expand Up @@ -164,7 +182,11 @@
<i class="fa fa-file"></i> Edit praxis rule
</button>
</div>
<div *ngIf="toolGroup['rules-praxis'].length > 1" class="list-group-item pt-1 pb-1 bg-warning" style="line-height: 1">
<div
*ngIf="toolGroup['rules-praxis'].length > 1"
class="list-group-item pt-1 pb-1 bg-warning"
style="line-height: 1"
>
<small>Multiple Rules</small>
</div>

Expand All @@ -185,7 +207,11 @@
</button>
</li>

<li *ngIf="rule['negative-rule']" class="list-group-item pt-1 pb-1 bg-danger" style="line-height: 1">
<li
*ngIf="rule['negative-rule']"
class="list-group-item pt-1 pb-1 bg-danger"
style="line-height: 1"
>
<small class="text-white">Exclude these praxis</small>
</li>

Expand Down

0 comments on commit 7baab08

Please sign in to comment.