diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 4e01729a..8a64480c 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -54,6 +54,9 @@ import {ConfirmDialogModule} from 'primeng/confirmdialog';
import {DialogModule} from 'primeng/dialog';
import {DateValueAccessorModule} from "angular-date-value-accessor";
import {CopyTextComponent} from './ui/copy-text/copy-text.component';
+import { CommentsListComponent } from './pages/voting/comments-list/comments-list.component';
+import { ChoicesListComponent } from './pages/voting/choices-list/choices-list.component';
+import { VotingNavigationComponent } from './pages/voting/voting-navigation/voting-navigation.component';
export class MyMissingTranslationHandler implements MissingTranslationHandler {
handle(params: MissingTranslationHandlerParams) {
@@ -97,6 +100,9 @@ export function HttpLoaderFactory(http: HttpClient) {
ResettableInputDirective,
ErasableInputComponent,
CopyTextComponent,
+ CommentsListComponent,
+ ChoicesListComponent,
+ VotingNavigationComponent,
],
imports: [
diff --git a/src/app/config/PollConfig.ts b/src/app/config/PollConfig.ts
index 623a7771..acd81d1f 100644
--- a/src/app/config/PollConfig.ts
+++ b/src/app/config/PollConfig.ts
@@ -56,7 +56,7 @@ export class PollConfig {
urlAdmin = environment.baseHref + '/#/admin/d65es45fd45sdf45sd345f312sdf31sgfd345';
adminKey = ''; // key to change config of the poll
owner_modifier_token = ''; // key to change a vote stack
- canModifyAnswers = 1;// everybody, self, nobody (= just admin)
+ canModifyAnswers = true;// bool for the frontend selector
whoModifiesAnswers = "everybody";// everybody, self, nobody (= just admin)
whoCanChangeAnswers = 'everybody';// everybody, self, nobody (= just admin)
dateList: any = defaultDates; // sets of days as strings, config to set identical time for days in a special days poll
diff --git a/src/app/pages/poll-display/poll-display.component.html b/src/app/pages/poll-display/poll-display.component.html
index 94eb5d8c..30e5c211 100644
--- a/src/app/pages/poll-display/poll-display.component.html
+++ b/src/app/pages/poll-display/poll-display.component.html
@@ -1,162 +1,73 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/app/pages/poll-display/poll-display.component.ts b/src/app/pages/poll-display/poll-display.component.ts
index a41cb023..a40d38a3 100644
--- a/src/app/pages/poll-display/poll-display.component.ts
+++ b/src/app/pages/poll-display/poll-display.component.ts
@@ -31,7 +31,6 @@ export class PollDisplayComponent extends BaseComponent implements OnInit {
ngOnInit() {
- this.config.exportCSV();
}
diff --git a/src/app/pages/visibility/visibility.component.html b/src/app/pages/visibility/visibility.component.html
index 979015c1..873b1a25 100644
--- a/src/app/pages/visibility/visibility.component.html
+++ b/src/app/pages/visibility/visibility.component.html
@@ -66,10 +66,10 @@
name="modificationAbility"
id="modificationAbility"
[(ngModel)]="config.canModifyAnswers" >
-
-
@@ -77,15 +77,15 @@
{{"visibility.archiving_end"|translate}}
-
+
{{"visibility.modfiy_their"|translate}}
Laisser un commentaire
- - - - -- -