-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #323 from maykinmedia/issue-866-questionnaire-impr…
…ovements Fixed #866 -- Adding redirection-option, showing code+id in the admin tree, adding concept-status of questionnaires
- Loading branch information
Showing
7 changed files
with
109 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/open_inwoner/questionnaire/migrations/0018_questionnairestep_published.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 3.2.15 on 2022-10-28 09:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("questionnaire", "0017_auto_20220617_0922"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="questionnairestep", | ||
name="published", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Whether the questionnaire-tree should be visible or not, only relevant for the top-level question", | ||
verbose_name="Gepubliceerd", | ||
), | ||
), | ||
] |
44 changes: 44 additions & 0 deletions
44
src/open_inwoner/questionnaire/migrations/0019_auto_20221028_1144.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Generated by Django 3.2.15 on 2022-10-28 09:44 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("questionnaire", "0018_questionnairestep_published"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="questionnairestep", | ||
name="redirect_to", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Indien ingesteld dan wordt de gebruiker na het kiezen van het antwoord doorgestuurd naar een andere vragenlijststap (eventueel in een andere boom", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="questionnaire.questionnairestep", | ||
verbose_name="Doorsturen naar andere stap (experimenteel)", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="questionnairestep", | ||
name="highlighted", | ||
field=models.BooleanField( | ||
default=False, | ||
help_text="Alleen relevant voor vraag op het hoofdniveau. Indien aangevinkt dan wordt deze vraag getoond op de homepage.", | ||
verbose_name="Uitgelicht", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="questionnairestep", | ||
name="published", | ||
field=models.BooleanField( | ||
default=True, | ||
help_text="Alleen relevant voor vraag op het hoofdniveau. Indien uitgevinkt dan kunnen alleen beheerders de vragenlijst zien & doorlopen.", | ||
verbose_name="Gepubliceerd", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters