fixes typos

This commit is contained in:
Paola 2021-08-03 15:56:05 -06:00
parent 208c85d73a
commit 80e952bea5
6 changed files with 11 additions and 7 deletions

View File

@ -13,7 +13,7 @@
[include]="['facebook', 'twitter', 'email']" [include]="['facebook', 'twitter', 'email']"
[show]="5" [show]="5"
[showText]="true" [showText]="true"
[size]="3" [size]="2"
[url]="baseURL" [url]="baseURL"
[title]="'Encuesta DataSurvey'" [title]="'Encuesta DataSurvey'"
[image]="'../../../content/img_datasurvey/datasurvey-logo-text-white-PNG.png'" [image]="'../../../content/img_datasurvey/datasurvey-logo-text-white-PNG.png'"

View File

@ -172,8 +172,8 @@
style="animation-delay: 3s" style="animation-delay: 3s"
></div> ></div>
</div> </div>
<div class="entity-share"> <div class="entity-share" *ngIf="encuesta.estado == 'ACTIVE'">
<span><fa-icon [icon]="faShareAlt"></fa-icon></span> <span><fa-icon [icon]="faShareAlt" (click)="compartir()"></fa-icon></span>
</div> </div>
</div> </div>

View File

@ -500,6 +500,10 @@ export class EncuestaComponent implements OnInit, AfterViewInit {
document.getElementById('contextmenu-share')!.style.display = 'block'; document.getElementById('contextmenu-share')!.style.display = 'block';
} }
if (this.selectedSurvey!.estado === 'FINISHED') {
document.getElementById('contextmenu-share')!.style.display = 'none';
}
document.getElementById('contextmenu-create--separator')!.style.display = 'none'; document.getElementById('contextmenu-create--separator')!.style.display = 'none';
} }

View File

@ -3,7 +3,7 @@
<div class="container-fluid navbar navbar-marketing navbar-expand-lg bg-white navbar-light"> <div class="container-fluid navbar navbar-marketing navbar-expand-lg bg-white navbar-light">
<div class="container px-5 py-4"> <div class="container px-5 py-4">
<a class="text-dark" routerLink="login" <a class="text-dark" routerLink="login"
><img src="http://datasurvey.org/content/img_datasurvey/datasurvey-logo-text-black.svg" width="300" alt="" ><img src="src/main/webapp/content/img_datasurvey/datasurvey-logo-text-black.svg" width="300" alt=""
/></a> /></a>
<div class="col-6" style="text-align: end"> <div class="col-6" style="text-align: end">

View File

@ -4,7 +4,7 @@
<div class="container px-5 py-4"> <div class="container px-5 py-4">
<h1 class="ds-title" [hidden]="notAccount">Inicio</h1> <h1 class="ds-title" [hidden]="notAccount">Inicio</h1>
<a class="text-dark" href=" " [hidden]="!notAccount"> <a class="text-dark" href=" " [hidden]="!notAccount">
<img src="http://datasurvey.org/content/img_datasurvey/datasurvey-logo-text-black.svg" width="300" alt="" /> <img src="src/main/webapp/content/img_datasurvey/datasurvey-logo-text-black.svg" width="300" alt="" />
</a> </a>
<a href=" "> <a href=" ">

View File

@ -141,7 +141,7 @@
"status": "Confirmar cambio de estado" "status": "Confirmar cambio de estado"
}, },
"validation": { "validation": {
"required": "Este campo es obligatorio.", "required": "Este campo es obligatorio",
"minlength": "Este campo requiere al menos {{min}} caracteres.", "minlength": "Este campo requiere al menos {{min}} caracteres.",
"maxlength": "Este campo no puede superar más de {{max}} caracteres.", "maxlength": "Este campo no puede superar más de {{max}} caracteres.",
"min": "Este campo debe ser mayor que {{min}}.", "min": "Este campo debe ser mayor que {{min}}.",
@ -152,7 +152,7 @@
"number": "Este campo debe ser un número.", "number": "Este campo debe ser un número.",
"integerNumber": "Este campo debe ser un número entero.", "integerNumber": "Este campo debe ser un número entero.",
"datetimelocal": "Este campo debe ser una fecha y hora.", "datetimelocal": "Este campo debe ser una fecha y hora.",
"minoigual": "Este campo debe ser mayor o igual que 0." "minoigual": "Este campo debe ser mayor o igual que 0"
}, },
"publish": { "publish": {
"title": "Publicar encuesta", "title": "Publicar encuesta",