can or can not modify votes issue #49

This commit is contained in:
tykayn 2020-04-11 14:51:22 +02:00
parent daf7006bb8
commit fff4e57378
3 changed files with 22 additions and 15 deletions

View File

@ -72,22 +72,27 @@
{{"visibility.archiving_can_not"|translate}}
</option>
</select>
<label for="modificationScope">
{{"visibility.archiving_end"|translate}}
</label>
<span *ngIf="config.canModifyAnswers == '0'">
{{"visibility.archiving_end_not"|translate}}
</span>
<span class="can_modify_votes" *ngIf="config.canModifyAnswers== '1'">
<label for="modificationScope">
{{"visibility.archiving_end"|translate}}
</label>
<select
name="modificationScope"
id="modificationScope"
[(ngModel)]="config.whoModifiesAnswers"
[disabled]="!config.canModifyAnswers">
<option value="self">
{{"visibility.modfiy_their"|translate}}
</option>
<option value="everybody">
{{"visibility.modfiy_everyone"|translate}}
</option>
</select>
</span>
<select
name="modificationScope"
id="modificationScope"
[(ngModel)]="config.whoModifiesAnswers"
[disabled]="!config.canModifyAnswers">
<option value="self">
{{"visibility.modfiy_their"|translate}}
</option>
<option value="everybody">
{{"visibility.modfiy_everyone"|translate}}
</option>
</select>
</div>

View File

@ -82,6 +82,7 @@
"archiving_can": "will",
"archiving_can_not": "will not",
"archiving_end": "be able to edit",
"archiving_end_not": "be able to edit answers",
"modfiy_their": "their vote",
"modfiy_everyone": "all the votes",
"access": "Access to the poll",

View File

@ -82,6 +82,7 @@
"archiving_can": "auront",
"archiving_can_not": "n'auront pas",
"archiving_end": "la possibilité de modifier",
"archiving_end_not": "la possibilité de modifier de votes",
"modfiy_their": "leur vote",
"modfiy_everyone": "tous les votes",
"access": "Accès au sondage",