mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
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 >-->
|
||||
<!-- </ul >-->
|
||||
<!-- </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 >
|
||||
<section class="name" >
|
||||
|
@ -58,6 +58,7 @@ export class PollDisplayComponent extends BaseComponent implements OnInit {
|
||||
this.config.loading = false;
|
||||
}, (e) => {
|
||||
// handle need for a password
|
||||
console.log('e', e)
|
||||
this.config.handleError(e)
|
||||
}
|
||||
);
|
||||
|
@ -69,7 +69,7 @@
|
||||
<option value="1" >
|
||||
{{"visibility.archiving_can"|translate}}
|
||||
</option >
|
||||
<option value="0" >
|
||||
<option value=0 >
|
||||
{{"visibility.archiving_can_not"|translate}}
|
||||
</option >
|
||||
</select >
|
||||
@ -77,11 +77,15 @@
|
||||
{{"visibility.archiving_end"|translate}}
|
||||
</label >
|
||||
|
||||
<span *ngIf="'0' == config.canModifyAnswers" >
|
||||
{{"visibility.modfiy_their"|translate}}
|
||||
</span >
|
||||
<select
|
||||
name="modificationScope"
|
||||
id="modificationScope"
|
||||
*ngIf="'1' ==config.canModifyAnswers"
|
||||
[(ngModel)]="config.whoModifiesAnswers"
|
||||
[disabled]="!config.canModifyAnswers" >
|
||||
[disabled]="'0' == config.canModifyAnswers" >
|
||||
<option value="self" >
|
||||
{{"visibility.modfiy_their"|translate}}
|
||||
</option >
|
||||
@ -114,7 +118,10 @@
|
||||
{{"visibility.access_instructions"|translate}}
|
||||
</sub >
|
||||
<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 >
|
||||
<br >
|
||||
<label for="passwordAccess" >
|
||||
|
@ -1,4 +1,21 @@
|
||||
<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" >
|
||||
<i class='fa fa-star' ></i >
|
||||
Pour l'instant,
|
||||
|
Loading…
Reference in New Issue
Block a user