forked from tykayn/funky-framadate-front
fix select visibility
This commit is contained in:
parent
74ade7ac0f
commit
bc67f26327
File diff suppressed because it is too large
Load Diff
@ -33,24 +33,7 @@
|
|||||||
<!-- </li >-->
|
<!-- </li >-->
|
||||||
<!-- </ul >-->
|
<!-- </ul >-->
|
||||||
<!-- </nav >-->
|
<!-- </nav >-->
|
||||||
<div class='heading' >
|
|
||||||
<div class='col-xs-6' >
|
|
||||||
<h1 id='title' >{{config.currentPoll.poll.title}}</h1 >
|
|
||||||
<p >{{config.currentPoll.poll.description}}</p >
|
|
||||||
<span class="creationDate" >
|
|
||||||
Créé le {{config.currentPoll.poll.creationDate.date}}
|
|
||||||
</span >
|
|
||||||
<span class="expiracyDate" >
|
|
||||||
Expire le {{config.currentPoll.poll.expiracyDate.date}}
|
|
||||||
</span >
|
|
||||||
<div class="votants" >
|
|
||||||
<i class='fa fa-users' ></i >
|
|
||||||
{{config.currentPoll.stacks.length}} votants,
|
|
||||||
{{config.currentPoll.choices.length}} choix,
|
|
||||||
</div >
|
|
||||||
</div >
|
|
||||||
|
|
||||||
</div >
|
|
||||||
|
|
||||||
</div >
|
</div >
|
||||||
<section class="name" >
|
<section class="name" >
|
||||||
|
@ -58,6 +58,7 @@ export class PollDisplayComponent extends BaseComponent implements OnInit {
|
|||||||
this.config.loading = false;
|
this.config.loading = false;
|
||||||
}, (e) => {
|
}, (e) => {
|
||||||
// handle need for a password
|
// handle need for a password
|
||||||
|
console.log('e', e)
|
||||||
this.config.handleError(e)
|
this.config.handleError(e)
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
<option value="1" >
|
<option value="1" >
|
||||||
{{"visibility.archiving_can"|translate}}
|
{{"visibility.archiving_can"|translate}}
|
||||||
</option >
|
</option >
|
||||||
<option value="0" >
|
<option value=0 >
|
||||||
{{"visibility.archiving_can_not"|translate}}
|
{{"visibility.archiving_can_not"|translate}}
|
||||||
</option >
|
</option >
|
||||||
</select >
|
</select >
|
||||||
@ -77,11 +77,15 @@
|
|||||||
{{"visibility.archiving_end"|translate}}
|
{{"visibility.archiving_end"|translate}}
|
||||||
</label >
|
</label >
|
||||||
|
|
||||||
|
<span *ngIf="'0' == config.canModifyAnswers" >
|
||||||
|
{{"visibility.modfiy_their"|translate}}
|
||||||
|
</span >
|
||||||
<select
|
<select
|
||||||
name="modificationScope"
|
name="modificationScope"
|
||||||
id="modificationScope"
|
id="modificationScope"
|
||||||
|
*ngIf="'1' ==config.canModifyAnswers"
|
||||||
[(ngModel)]="config.whoModifiesAnswers"
|
[(ngModel)]="config.whoModifiesAnswers"
|
||||||
[disabled]="!config.canModifyAnswers" >
|
[disabled]="'0' == config.canModifyAnswers" >
|
||||||
<option value="self" >
|
<option value="self" >
|
||||||
{{"visibility.modfiy_their"|translate}}
|
{{"visibility.modfiy_their"|translate}}
|
||||||
</option >
|
</option >
|
||||||
@ -114,7 +118,10 @@
|
|||||||
{{"visibility.access_instructions"|translate}}
|
{{"visibility.access_instructions"|translate}}
|
||||||
</sub >
|
</sub >
|
||||||
<div class="preview-url" >
|
<div class="preview-url" >
|
||||||
{{environment.baseHref + '#/poll/slug/' + config.customUrl}}
|
<a [href]="'/#/vote/poll/slug/' + config.customUrl" >
|
||||||
|
{{environment.baseHref + '#/vote/poll/slug/' + config.customUrl}}
|
||||||
|
</a >
|
||||||
|
|
||||||
</div >
|
</div >
|
||||||
<br >
|
<br >
|
||||||
<label for="passwordAccess" >
|
<label for="passwordAccess" >
|
||||||
|
@ -1,4 +1,21 @@
|
|||||||
<h2 >Résumé</h2 >
|
<h2 >Résumé</h2 >
|
||||||
|
<div class='heading' >
|
||||||
|
<div class='col-xs-6' >
|
||||||
|
<h1 id='title' >{{config.currentPoll.poll.title}}</h1 >
|
||||||
|
<p >{{config.currentPoll.poll.description}}</p >
|
||||||
|
<span class="creationDate" >
|
||||||
|
Créé le {{config.currentPoll.poll.creationDate.date}}
|
||||||
|
</span >
|
||||||
|
<span class="expiracyDate" >
|
||||||
|
Expire le {{config.currentPoll.poll.expiracyDate.date}}
|
||||||
|
</span >
|
||||||
|
<div class="votants" >
|
||||||
|
<i class='fa fa-users' ></i >
|
||||||
|
{{config.currentPoll.stacks.length}} votants,
|
||||||
|
{{config.currentPoll.choices.length}} choix,
|
||||||
|
</div >
|
||||||
|
</div >
|
||||||
|
</div >
|
||||||
<div class="preferred" >
|
<div class="preferred" >
|
||||||
<i class='fa fa-star' ></i >
|
<i class='fa fa-star' ></i >
|
||||||
Pour l'instant,
|
Pour l'instant,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user