diff --git a/src/app/appmarket/domains/domain/domain.component.html b/src/app/appmarket/domains/domain/domain.component.html
index 8b6d0c7fa4700a716c6bd55f6cd1101657bcab9b..c25c5a2e2b6abbae42645004f1aa2d6fbfc4f90b 100644
--- a/src/app/appmarket/domains/domain/domain.component.html
+++ b/src/app/appmarket/domains/domain/domain.component.html
@@ -101,6 +101,47 @@
</div>
</div>
+ <div class="panel panel-default" *ngIf="isInMode(ComponentMode.VIEW) && !authService.hasRole('ROLE_OPERATOR')">
+ <div class="panel-heading">{{ 'DOMAIN_DETAILS.DOMAIN_USERS' | translate }}</div>
+ <div class="panel-body">
+ <table class="table table-hover table-condensed" aria-describedby="Domains details table">
+ <thead>
+ <tr>
+ <th scope="col" *roles="['ROLE_SYSTEM_ADMIN']">{{ 'DOMAIN_DETAILS.ID' | translate }}</th>
+ <th scope="col">{{ 'DOMAIN_DETAILS.USER_NAME' | translate }}</th>
+ <th scope="col">{{ 'DOMAIN_DETAILS.FIRST_NAME' | translate }}</th>
+ <th scope="col">{{ 'DOMAIN_DETAILS.LAST_NAME' | translate }}</th>
+ <th scope="col">{{ 'DOMAIN_DETAILS.ROLES' | translate }}</th>
+ <th scope="col"> </th>
+ </tr>
+ </thead>
+
+ <tbody>
+ <ng-template ngFor let-user [ngForOf]="domainUsers">
+ <tr>
+ <td *ngIf="authService.hasRole('ROLE_SYSTEM_ADMIN')">{{user.id}}</td>
+ <td>{{user.username}}</td>
+ <td> {{user.firstname}}</td>
+ <td> {{user.lastname}}</td>
+ <td *ngIf="domainId == domainService.getGlobalDomainId()">
+ <div *ngFor="let role of filterDomainNames(user); last as isLast">
+ <span *ngIf="!isLast" style="float:left;padding-right: 3px">{{role.role | slice:5}}@{{this.getDomainName(role.domainId)|async}}, </span>
+ <span *ngIf="isLast" style="float:left">{{role.role | slice:5}}@{{this.getDomainName(role.domainId)|async}}</span>
+ </div>
+ </td>
+ <td *ngIf="domainId != domainService.getGlobalDomainId()">
+ <span *ngFor="let role of this.getDomainRoleNames(user.roles)">
+ {{"ENUM.USER_ROLES." + role.role.toUpperCase() | translate}}
+ </span>
+ </td>
+ </tr>
+ </ng-template>
+
+ </tbody>
+ </table>
+ </div>
+ </div>
+
<div class="panel panel-default">
<div class="panel-heading">{{ 'DOMAIN_DETAILS.APP_STATUS' | translate }}</div>
<div class="panel-body">
@@ -185,46 +226,7 @@
- <div class="panel panel-default" *ngIf="isInMode(ComponentMode.VIEW) && !authService.hasRole('ROLE_OPERATOR')">
- <div class="panel-heading">{{ 'DOMAIN_DETAILS.DOMAIN_USERS' | translate }}</div>
- <div class="panel-body">
- <table class="table table-hover table-condensed" aria-describedby="Domains details table">
- <thead>
- <tr>
- <th scope="col" *roles="['ROLE_SYSTEM_ADMIN']">{{ 'DOMAIN_DETAILS.ID' | translate }}</th>
- <th scope="col">{{ 'DOMAIN_DETAILS.USER_NAME' | translate }}</th>
- <th scope="col">{{ 'DOMAIN_DETAILS.FIRST_NAME' | translate }}</th>
- <th scope="col">{{ 'DOMAIN_DETAILS.LAST_NAME' | translate }}</th>
- <th scope="col">{{ 'DOMAIN_DETAILS.ROLES' | translate }}</th>
- <th scope="col"> </th>
- </tr>
- </thead>
-
- <tbody>
- <ng-template ngFor let-user [ngForOf]="domainUsers">
- <tr>
- <td *ngIf="authService.hasRole('ROLE_SYSTEM_ADMIN')">{{user.id}}</td>
- <td>{{user.username}}</td>
- <td> {{user.firstname}}</td>
- <td> {{user.lastname}}</td>
- <td *ngIf="domainId == domainService.getGlobalDomainId()">
- <div *ngFor="let role of filterDomainNames(user); last as isLast">
- <span *ngIf="!isLast" style="float:left;padding-right: 3px">{{role.role | slice:5}}@{{this.getDomainName(role.domainId)|async}}, </span>
- <span *ngIf="isLast" style="float:left">{{role.role | slice:5}}@{{this.getDomainName(role.domainId)|async}}</span>
- </div>
- </td>
- <td *ngIf="domainId != domainService.getGlobalDomainId()">
- <span *ngFor="let role of this.getDomainRoleNames(user.roles)">
- {{"ENUM.USER_ROLES." + role.role.toUpperCase() | translate}}
- </span>
- </td>
- </tr>
- </ng-template>
- </tbody>
- </table>
- </div>
- </div>
<button *ngIf="!isInMode(ComponentMode.VIEW)" type="submit" class="btn btn-default" [disabled]="!domainForm.form.valid">{{ 'DOMAIN_DETAILS.SUBMIT_BUTTON' | translate }}</button>
diff --git a/src/app/appmarket/domains/list/domainslist.component.html b/src/app/appmarket/domains/list/domainslist.component.html
index bc1be2ac41d411067d8defcab382aa48039a4a0e..9329f7f051eb013b3c0d86c8ad379d99b7f5dc2b 100644
--- a/src/app/appmarket/domains/list/domainslist.component.html
+++ b/src/app/appmarket/domains/list/domainslist.component.html
@@ -5,7 +5,7 @@
<a *roles="['ROLE_SYSTEM_ADMIN']" [routerLink]="['add']" class="btn btn-primary"
role="button">{{'DOMAINS.ADD_BUTTON' | translate}}</a>
</div>
- <div class="flex" style="align-content: center; margin-top: 8px;">
+ <div *roles="['ROLE_SYSTEM_ADMIN']" class="flex" style="align-content: center; margin-top: 8px;">
<span style="align-content: center; margin-right: 5px;"> {{'DOMAINS.NOTACTIVE' | translate}}</span>
<p-checkbox id="showNotActive" [binary]="true" [(ngModel)]=" showNotActive"></p-checkbox>
</div>