Fix survey template and categories list empty list placeholder message

This commit is contained in:
Pablo Bonilla 2021-08-16 01:29:52 -06:00
parent cf7de82bcf
commit 858177cee4
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
3 changed files with 17 additions and 7 deletions

View File

@ -33,8 +33,13 @@
</button> </button>
</div> </div>
<div class="alert alert-warning" id="no-result" *ngIf="categorias?.length === 0"> <div class="ds-survey" id="entities" *ngIf="categorias?.length === 0">
<span jhiTranslate="dataSurveyApp.categoria.home.notFound">No categorias found</span> <div class="ds-survey--all-question-wrapper">
<ng-container class="">
<p class="ds-title text-center">No existen categorías</p>
<p class="ds-subtitle text-center">Inicie creando categorías para identificar las encuestas de los usuarios</p>
</ng-container>
</div>
</div> </div>
<div class="table-responsive" id="entities" *ngIf="categorias && categorias.length > 0"> <div class="table-responsive" id="entities" *ngIf="categorias && categorias.length > 0">

View File

@ -101,7 +101,7 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="table-responsive"> <div class="table-responsive">
<table class="table"> <table class="ds-table table">
<tbody> <tbody>
<tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId"> <tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId">
<td>{{ categoria.nombre }}</td> <td>{{ categoria.nombre }}</td>
@ -127,7 +127,7 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="table-responsive"> <div class="table-responsive">
<table class="table"> <table class="ds-table table">
<tbody> <tbody>
<tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId"> <tr *ngFor="let categoria of categorias; let i = index; trackBy: trackId">
<td>{{ categoria.nombre }}</td> <td>{{ categoria.nombre }}</td>
@ -199,7 +199,7 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="table-responsive"> <div class="table-responsive">
<table class="table"> <table class="ds-table table">
<thead> <thead>
<tr> <tr>
<th>Usuario</th> <th>Usuario</th>

View File

@ -59,8 +59,13 @@
<jhi-alert></jhi-alert> --> <jhi-alert></jhi-alert> -->
<div class="alert alert-warning" id="no-result" *ngIf="plantillas?.length === 0"> <div class="ds-survey" id="entities" *ngIf="plantillas?.length === 0">
<span jhiTranslate="dataSurveyApp.plantilla.home.notFound">No templates found</span> <div class="ds-survey--all-question-wrapper">
<ng-container class="">
<p class="ds-title text-center">No existen plantillas</p>
<p class="ds-subtitle text-center">Inicie creando plantillas de encuestas para publicarlas en la tienda</p>
</ng-container>
</div>
</div> </div>
<div class="table-responsive" id="entities" *ngIf="plantillas && plantillas.length > 0"> <div class="table-responsive" id="entities" *ngIf="plantillas && plantillas.length > 0">