mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
config to hide demo headers on homepage
This commit is contained in:
parent
23df4a5899
commit
4170c65e17
@ -2,6 +2,9 @@
|
||||
"name": "framadate-funky-frontend",
|
||||
"version": "0.6.0",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"engines": {
|
||||
"node": ">= 16.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
|
@ -35,7 +35,10 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="well debug has-background-info-light padded is-rounded">
|
||||
<fieldset
|
||||
class="well debug has-background-info-light padded is-rounded"
|
||||
*ngIf="environment.show_graphic_chart"
|
||||
>
|
||||
<section class="buttons-demo">
|
||||
<h1 class="title is-1">Boutons de démo - Titre h1</h1>
|
||||
<h2 class="title is-2">Titre h2</h2>
|
||||
@ -74,24 +77,6 @@
|
||||
</div>
|
||||
</section>
|
||||
</fieldset>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -21,6 +21,7 @@ export class AdminConsultationComponent implements OnInit {
|
||||
private _Activatedroute: ActivatedRoute,
|
||||
private router: Router
|
||||
) {
|
||||
// http://localhost:4200/#/administration/key/7106Y3a5yfX10Z400fR670I1Bld0R4df7bEZ5fY6bOw5010t7XC36d4H16L2157jK4gb7JS311J735
|
||||
this.poll = this.pollService._poll.getValue();
|
||||
this.form = this.pollService.form;
|
||||
}
|
||||
|
@ -48,7 +48,7 @@
|
||||
{{ 'participation.fav_title' | translate }}
|
||||
</button>
|
||||
<button
|
||||
class="edit-poll-button button is-default"
|
||||
class="edit-poll-button button is-secondary"
|
||||
routerLink="/administration/step/7"
|
||||
*ngIf="poll.admin_key || show_admin_stuff"
|
||||
>
|
||||
|
@ -45,6 +45,7 @@ export const environment = {
|
||||
production: true,
|
||||
showDemoWarning: false,
|
||||
showStepperShortcuts: false,
|
||||
show_graphic_chart: false,
|
||||
|
||||
api: {
|
||||
versionToUse: 'apiV1',
|
||||
|
@ -60,6 +60,7 @@ export const environment = {
|
||||
display_date_end_of_poll: false,
|
||||
display_wip: false,
|
||||
show_bottom_sources: false,
|
||||
show_graphic_chart: false,
|
||||
};
|
||||
|
||||
// Included with Angular CLI.
|
||||
|
Loading…
Reference in New Issue
Block a user