Merge pull request #136 from Quantum-P3/fix/empty-survey-template

Fix empty survey template and category list message
This commit is contained in:
Eduardo Quiros 2021-08-16 07:41:37 +00:00 committed by GitHub
commit c5a28aa76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 7 deletions

View File

@ -33,8 +33,13 @@
</button>
</div>
<div class="alert alert-warning" id="no-result" *ngIf="categorias?.length === 0">
<span jhiTranslate="dataSurveyApp.categoria.home.notFound">No categorias found</span>
<div class="ds-survey" id="entities" *ngIf="categorias?.length === 0">
<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 class="table-responsive" id="entities" *ngIf="categorias && categorias.length > 0">

View File

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

View File

@ -59,8 +59,13 @@
<jhi-alert></jhi-alert> -->
<div class="alert alert-warning" id="no-result" *ngIf="plantillas?.length === 0">
<span jhiTranslate="dataSurveyApp.plantilla.home.notFound">No templates found</span>
<div class="ds-survey" id="entities" *ngIf="plantillas?.length === 0">
<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 class="table-responsive" id="entities" *ngIf="plantillas && plantillas.length > 0">