Improve state button UI
This commit is contained in:
parent
33101bc5b3
commit
0c0ea5dbf7
|
@ -91,8 +91,14 @@
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="c-hand abuse-states" [pRowToggler]="registration">
|
<td class="c-hand abuse-states" [pRowToggler]="registration">
|
||||||
<my-global-icon *ngIf="isRegistrationAccepted(registration)" [title]="registration.state.label" iconName="tick"></my-global-icon>
|
|
||||||
<my-global-icon *ngIf="isRegistrationRejected(registration)" [title]="registration.state.label" iconName="cross"></my-global-icon>
|
<div *ngIf="isRegistrationAccepted(registration)" [title]="registration.state.label" class="pt-badge badge-success">
|
||||||
|
<my-global-icon iconName="tick"></my-global-icon>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div *ngIf="isRegistrationRejected(registration)" [title]="registration.state.label" class="pt-badge badge-danger">
|
||||||
|
<my-global-icon iconName="cross"></my-global-icon>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td container="body" placement="left auto" [ngbTooltip]="registration.moderationResponse">
|
<td container="body" placement="left auto" [ngbTooltip]="registration.moderationResponse">
|
||||||
|
|
|
@ -121,8 +121,13 @@
|
||||||
<td class="c-hand" [pRowToggler]="abuse">{{ abuse.createdAt | date: 'short' }}</td>
|
<td class="c-hand" [pRowToggler]="abuse">{{ abuse.createdAt | date: 'short' }}</td>
|
||||||
|
|
||||||
<td class="c-hand abuse-states" [pRowToggler]="abuse">
|
<td class="c-hand abuse-states" [pRowToggler]="abuse">
|
||||||
<my-global-icon *ngIf="isAbuseAccepted(abuse)" [title]="abuse.state.label" iconName="tick"></my-global-icon>
|
<div *ngIf="isAbuseAccepted(abuse)" [title]="abuse.state.label" class="pt-badge badge-success">
|
||||||
<my-global-icon *ngIf="isAbuseRejected(abuse)" [title]="abuse.state.label" iconName="cross"></my-global-icon>
|
<my-global-icon iconName="tick"></my-global-icon>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div *ngIf="isAbuseRejected(abuse)" [title]="abuse.state.label" class="pt-badge badge-danger">
|
||||||
|
<my-global-icon iconName="cross"></my-global-icon>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="abuse-messages">
|
<td class="abuse-messages">
|
||||||
|
|
Loading…
Reference in New Issue