This commit is contained in:
Tykayn 2022-02-11 13:48:42 +01:00 committed by tykayn
parent 6c5418c484
commit dd31f5695b
2 changed files with 120 additions and 75 deletions

View File

@ -1,87 +1,77 @@
<app-header></app-header> <app-header></app-header>
<header></header> <header></header>
<main> <main>
<div class="container"> <section>
<section> <div class="">
<div class=""> <div class="step">
<div class="contained-in-large-column"> <div class="main-block" *ngIf="pollService.admin_key">
<div class="main-block" *ngIf="pollService.admin_key"> <div class="columns">
<div class="columns"> <div class="column is-narrow">
<div class="column is-narrow"> <img class="icon is-big icon-success" src="assets/icons/check-circle.svg" alt="icone ok" />
<img </div>
class="icon is-big icon-success" <div class="column">
src="assets/icons/check-circle.svg" <h1 class="title is-2 poll-title success-creation-title is-success">
alt="icone ok" {{ 'success.title' | translate }}
/> </h1>
</div> <span class="description">
<div class="column"> {{ 'success.description' | translate: { eventTitle: pollService.form.value.title } }}
<h1 class="title is-2 poll-title success-creation-title is-success"> </span>
{{ 'success.title' | translate }} <span class="share">
</h1> {{ 'success.share' | translate }}
<span class="description"> </span>
{{ <div class="copy">
'success.description' | translate: { eventTitle: pollService.form.value.title } <label for="public_share_link">
}} {{ 'success.link' | translate }}
</span> </label>
<span class="share"> <div class="columns">
{{ 'success.share' | translate }} <div class="column">
</span> <input
<div class="copy"> type="text"
<label for="public_share_link"> [value]="pollService.getParticipationUrl()"
{{ 'success.link' | translate }} id="public_share_link"
</label> />
<div class="columns"> </div>
<div class="column"> <div class="column is-narrow">
<input <app-copy-text [textToCopy]="pollService.getParticipationUrl()"></app-copy-text>
type="text"
[value]="pollService.getParticipationUrl()"
id="public_share_link"
/>
</div>
<div class="column is-narrow">
<app-copy-text
[textToCopy]="pollService.getParticipationUrl()"
></app-copy-text>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="rounded-block"> <div class="rounded-block">
<h2 class="title is-2 has-text-primary go-see-title"> <h2 class="title is-2 has-text-primary go-see-title">
{{ 'success.label' | translate }} {{ 'success.label' | translate }}
</h2> </h2>
<button <button
class="button is-primary is-fullwidth" class="button is-primary is-fullwidth"
routerLink="{{ pollService.getAdministrationUrlFromForm() }}" routerLink="{{ pollService.getAdministrationUrlFromForm() }}"
> >
{{ 'success.action' | translate }} {{ 'success.action' | translate }}
</button> </button>
</div>
<hr />
<!-- <div class="debug">-->
<!-- pollService.form.value.title: {{pollService.form.value.title}} <br>-->
<!-- getParticipationUrl: {{pollService.getParticipationUrl()}}-->
<!-- getAdministrationUrlFromForm: {{ pollService.getAdministrationUrlFromForm() }}-->
<!-- </div>-->
</div> </div>
</div> <hr />
<!-- cas d'échec de création du sondage--> <!-- <div class="debug">-->
<div class="contained-in-large-column" *ngIf="!pollService.admin_key"> <!-- pollService.form.value.title: {{pollService.form.value.title}} <br>-->
<div class="no-admin-key padded has-background-danger"> <!-- getParticipationUrl: {{pollService.getParticipationUrl()}}-->
{{ 'success.network_error' | translate }} <!-- getAdministrationUrlFromForm: {{ pollService.getAdministrationUrlFromForm() }}-->
</div> <!-- </div>-->
<h1 class="title is-1">
{{ 'success.not_created' | translate }}
</h1>
<button class="button is-primary" [routerLink]="['/administration/step/7']">
{{ 'success.go_back' | translate }}
</button>
</div> </div>
</div> </div>
</section> <!-- cas d'échec de création du sondage-->
</div> <div class="step" *ngIf="!pollService.admin_key">
<div class="no-admin-key padded has-background-danger">
{{ 'success.network_error' | translate }}
</div>
<h1 class="title is-1">
{{ 'success.not_created' | translate }}
</h1>
<button class="button is-primary" [routerLink]="['/administration/step/7']">
{{ 'success.go_back' | translate }}
</button>
</div>
</div>
</section>
</main> </main>
<footer> <footer>
<app-footer></app-footer> <app-footer></app-footer>

View File

@ -1,10 +1,36 @@
{ {
"Language": "言語",
"home": {
"title": "ようこそ",
"subtitle": "まとめて整理するために単に相談してください.",
"search_title": "すでに調査を作成していて、それにアクセスしたいですか?",
"search_subtitle": "メールアドレスを入力すると、アンケートへのリンクが送信されます。 ",
"search_label": "メールアドレス",
"create_button": "新しい投票を作成する",
"search_button": "調査する"
},
"config": {
"title": "投票を作成する ",
"landing_title": "イベントを企画したり、親戚の意見を簡単に、自由に集めたりできます。",
"landing_subtitle": "{{AppTitle}} のおかげで、登録なしで簡単に、スケジュールを立て、整理し、迅速に意思決定を行うことができます。",
"letsgo": "新しい投票を作成する",
"discover": "既存の投票を探す",
"description": "友達や家族との約束をスケジュールしたり、テキスト、写真、リンクを使ってプールを作成したり…実際の調査!",
"find_my_polls": "私の世論調査",
"find_helper": "メールにリンクされた投票を探しています",
"find_button": "私の投票を探す"
},
"nav": { "nav": {
"menu": "メニュー",
"leave": "去る", "leave": "去る",
"previous": "前", "previous": "前",
"next": "次へ", "step": "ステップ",
"save": "救う" "on": "の",
"no_title": "(無題)",
"next": "続く",
"save": "記録"
}, },
"creation": { "creation": {
"init": "新", "init": "新",
"title": "そもそも", "title": "そもそも",
@ -53,8 +79,37 @@
"missing": "1日以上入力する" "missing": "1日以上入力する"
} }
}, },
"hours": {
"title": "時間を選択してください",
"element": "スケジュール",
"apply_same": "すべての日付に同じ時刻を適用する",
"add": "スケジュールの追加",
"empty": "タイムスロットなし」",
"reinit": "リセット",
"modal": {
"title": "すべての日付に適用する時間を選択してください",
"validate": "適用"
}
},
"LANGUAGES": { "LANGUAGES": {
"FR": "フレンチ", "FR": "フレンチ",
"JA" : "日本語" "JA" : "日本語"
},
"calendar_widget": {
"dayNames": [],
"monthNames": [
"1月",
"2月",
"行進",
"4月」",
"5月",
"六月",
"7月」",
"8月」",
"9月」",
"10月",
"11月」",
"12月"
]
} }
} }