2019-08-10 17:21:40 +02:00
|
|
|
<h1 i18n>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.top_txt"|translate}}
|
2019-11-23 14:30:19 +01:00
|
|
|
</h1>
|
|
|
|
<section class="answers">
|
2019-11-22 16:46:12 +01:00
|
|
|
|
2019-11-23 14:30:19 +01:00
|
|
|
<h2>
|
|
|
|
{{"visibility.title"|translate}}
|
|
|
|
</h2>
|
|
|
|
<span>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.visibility_want"|translate}}
|
2019-11-23 14:30:19 +01:00
|
|
|
</span>
|
|
|
|
<select
|
|
|
|
name="visible_people"
|
|
|
|
id="visible_people"
|
|
|
|
[(ngModel)]="config.visibility"
|
|
|
|
>
|
|
|
|
<option value="link">
|
|
|
|
{{"visibility.visibility_link"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="only_me">
|
|
|
|
{{"visibility.visibility_nobody"|translate}}
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<span>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.visibility_see"|translate}}
|
2019-11-23 14:30:19 +01:00
|
|
|
</span>
|
2019-08-10 17:21:40 +02:00
|
|
|
|
2019-11-23 14:30:19 +01:00
|
|
|
</section>
|
2019-11-22 16:46:12 +01:00
|
|
|
|
2019-11-23 14:30:19 +01:00
|
|
|
<section class="possible_votes">
|
|
|
|
<h2>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.votes"|translate}}
|
2019-11-23 14:30:19 +01:00
|
|
|
</h2>
|
2019-11-23 14:58:44 +01:00
|
|
|
<label for="votes">
|
|
|
|
{{"visibility.votes_possible"|translate}}
|
|
|
|
</label>
|
2019-11-23 14:30:19 +01:00
|
|
|
<select
|
|
|
|
name="votes"
|
|
|
|
id="votes"
|
|
|
|
[(ngModel)]="config.visibility"
|
|
|
|
>
|
|
|
|
<option value="only_yes">
|
|
|
|
{{"visibility.votes_possible_single"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="normal">
|
|
|
|
{{"visibility.votes_possible_normal"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="full">
|
|
|
|
{{"visibility.votes_possible_full"|translate}}
|
|
|
|
</option>
|
|
|
|
</select>
|
2019-11-22 16:46:12 +01:00
|
|
|
</section>
|
2019-11-23 14:30:19 +01:00
|
|
|
<section class="expiracy">
|
2019-11-23 14:58:44 +01:00
|
|
|
<label for="expirationDate">
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.archiving"|translate}}
|
2019-11-23 14:58:44 +01:00
|
|
|
</label>
|
|
|
|
|
|
|
|
<input type="date"
|
|
|
|
id="expirationDate"
|
|
|
|
[(ngModel)]="config.expirationDate">
|
|
|
|
<div class="modification">
|
|
|
|
<label for="modificationAbility">
|
|
|
|
{{"visibility.archiving_start"|translate}}
|
|
|
|
</label>
|
|
|
|
<select
|
|
|
|
name="modificationAbility"
|
|
|
|
id="modificationAbility"
|
|
|
|
[(ngModel)]="config.canModifyAnswers">
|
|
|
|
<option value="1">
|
|
|
|
{{"visibility.archiving_can"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="0">
|
|
|
|
{{"visibility.archiving_can_not"|translate}}
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<label for="modificationScope">
|
|
|
|
{{"visibility.archiving_end"|translate}}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<select
|
|
|
|
name="modificationScope"
|
|
|
|
id="modificationScope"
|
|
|
|
[(ngModel)]="config.canModifyAnswers">
|
|
|
|
<option value="self">
|
|
|
|
{{"visibility.modfiy_their"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="everybody">
|
|
|
|
{{"visibility.modfiy_everyone"|translate}}
|
|
|
|
</option>
|
|
|
|
</select>
|
2019-11-23 14:30:19 +01:00
|
|
|
|
2019-11-23 14:58:44 +01:00
|
|
|
</div>
|
2019-11-22 16:46:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
</section>
|
|
|
|
<section class="access">
|
2019-11-23 14:58:44 +01:00
|
|
|
<h2>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.access"|translate}}
|
2019-11-23 14:58:44 +01:00
|
|
|
</h2>
|
|
|
|
<label for="url">
|
|
|
|
{{"visibility.access_url"|translate}}
|
|
|
|
<br>
|
|
|
|
{{"visibility.access_url_key"|translate}}
|
|
|
|
</label>
|
|
|
|
<input type="text"
|
|
|
|
name="url"
|
|
|
|
id="url"
|
|
|
|
[(ngModel)]="config.customUrl">
|
|
|
|
|
|
|
|
<sub class="instructions">
|
|
|
|
{{"visibility.access_instructions"|translate}}
|
|
|
|
</sub>
|
2019-11-22 16:46:12 +01:00
|
|
|
{{"visibility.access_want"|translate}}
|
2019-11-23 14:58:44 +01:00
|
|
|
<select name="passwordAccess" id="passwordAccess" [(ngModel)]="config.passwordAccess">
|
|
|
|
<option value="0"> {{"visibility.access_want_no"|translate}}</option>
|
|
|
|
<option value="1"> {{"visibility.access_want_yes"|translate}}</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<label for="password">
|
|
|
|
{{"visibility.access_protect"|translate}}
|
|
|
|
</label>
|
2019-11-22 16:46:12 +01:00
|
|
|
|
2019-11-23 14:58:44 +01:00
|
|
|
<input type="password"
|
|
|
|
name="password"
|
|
|
|
id="password"
|
|
|
|
min="8"
|
|
|
|
*ngIf="!showCustomPassword"
|
|
|
|
[(ngModel)]="config.password">
|
|
|
|
<input type="password"
|
|
|
|
name="password_visible"
|
|
|
|
id="password_visible"
|
|
|
|
min="8"
|
|
|
|
*ngIf="showCustomPassword"
|
|
|
|
[(ngModel)]="config.password">
|
|
|
|
<button class="btn btn--default" (click)="showCustomPassword = !showCustomPassword">
|
|
|
|
{{"visibility.see_pass"|translate}}
|
|
|
|
</button>
|
2019-11-22 16:46:12 +01:00
|
|
|
</section>
|
|
|
|
|
2019-11-23 14:58:44 +01:00
|
|
|
<a [routerLink]="'/step/end'"
|
|
|
|
class="btn btn--primary">
|
|
|
|
{{"visibility.validate_btn"|translate}}
|
|
|
|
</a>
|