Browse Source
Merge pull request #5319 from abpframework/feat/5161
Added role labels to the name column of roles datatable
pull/5320/head
Bunyamin Coskuner
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
4 deletions
-
npm/ng-packs/packages/identity/src/lib/components/roles/roles.component.html
|
|
|
@ -63,10 +63,17 @@ |
|
|
|
</div> |
|
|
|
</ng-template> |
|
|
|
</ngx-datatable-column> |
|
|
|
<ngx-datatable-column |
|
|
|
[name]="'AbpIdentity::RoleName' | abpLocalization" |
|
|
|
prop="name" |
|
|
|
></ngx-datatable-column> |
|
|
|
<ngx-datatable-column [name]="'AbpIdentity::RoleName' | abpLocalization" prop="name"> |
|
|
|
<ng-template let-row="row" ngx-datatable-cell-template> |
|
|
|
{{ row.name }} |
|
|
|
<span *ngIf="row.isDefault" class="badge badge-pill badge-success ml-1">{{ |
|
|
|
'AbpIdentity::DisplayName:IsDefault' | abpLocalization |
|
|
|
}}</span> |
|
|
|
<span *ngIf="row.isPublic" class="badge badge-pill badge-info ml-1">{{ |
|
|
|
'AbpIdentity::DisplayName:IsPublic' | abpLocalization |
|
|
|
}}</span> |
|
|
|
</ng-template> |
|
|
|
</ngx-datatable-column> |
|
|
|
</ngx-datatable> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|