-
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 #330 from maykinmedia/issue/906-more-editable-text
[#906] Added configuration fields for more dynamic texts
- Loading branch information
Showing
19 changed files
with
220 additions
and
25 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/open_inwoner/components/templates/components/Product/finder.html
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
62 changes: 62 additions & 0 deletions
62
src/open_inwoner/configurations/migrations/0022_siteconfiguration_more_text.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,62 @@ | ||
# Generated by Django 3.2.15 on 2022-11-16 11:30 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("configurations", "0021_siteconfiguration_more_titles"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="siteconfiguration", | ||
name="home_product_finder_intro", | ||
field=models.TextField( | ||
blank=True, | ||
default="Met een paar simpele vragen ziet u welke producten passen bij uw situatie", | ||
help_text="Product finder's intro text on the home page.", | ||
verbose_name="Home product finder intro", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="siteconfiguration", | ||
name="home_product_finder_title", | ||
field=models.CharField( | ||
default="Productzoeker", | ||
help_text="Product finder's title on the home page.", | ||
max_length=255, | ||
verbose_name="Product finder title", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="siteconfiguration", | ||
name="plans_edit_message", | ||
field=models.CharField( | ||
default="Hier kunt u uw doel aanpassen", | ||
help_text="The message when a user edits a goal.", | ||
max_length=255, | ||
verbose_name="Edit goal message", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="siteconfiguration", | ||
name="plans_intro", | ||
field=models.TextField( | ||
default="Hier werkt u aan uw doelen. Dit doet u samen met uw contactpersoon bij de gemeente. ", | ||
help_text="The sub-title for the plan page.", | ||
verbose_name="Plan pages intro", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="siteconfiguration", | ||
name="plans_no_plans_message", | ||
field=models.CharField( | ||
default="U heeft nog geen plan gemaakt.", | ||
help_text="The message in the plans listing when user has no plans.", | ||
max_length=255, | ||
verbose_name="No plans message", | ||
), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
...ons/0023_rename_home_questionnaire_subtitle_siteconfiguration_home_questionnaire_intro.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,18 @@ | ||
# Generated by Django 3.2.15 on 2022-11-16 11:41 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("configurations", "0022_siteconfiguration_more_text"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="siteconfiguration", | ||
old_name="home_questionnaire_subtitle", | ||
new_name="home_questionnaire_intro", | ||
), | ||
] |
25 changes: 25 additions & 0 deletions
25
...nwoner/configurations/migrations/0024_alter_siteconfiguration_home_questionnaire_intro.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,25 @@ | ||
# Generated by Django 3.2.15 on 2022-11-16 11:42 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"configurations", | ||
"0023_rename_home_questionnaire_subtitle_siteconfiguration_home_questionnaire_intro", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="home_questionnaire_intro", | ||
field=models.TextField( | ||
default="Test met een paar simpele vragen of u recht heeft op een product", | ||
help_text="Questionnaire intro text on the home page.", | ||
verbose_name="Home page questionaire intro", | ||
), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
...0025_rename_select_questionnaire_subtitle_siteconfiguration_select_questionnaire_intro.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,18 @@ | ||
# Generated by Django 3.2.15 on 2022-11-16 11:48 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("configurations", "0024_alter_siteconfiguration_home_questionnaire_intro"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="siteconfiguration", | ||
old_name="select_questionnaire_subtitle", | ||
new_name="select_questionnaire_intro", | ||
), | ||
] |
25 changes: 25 additions & 0 deletions
25
...oner/configurations/migrations/0026_alter_siteconfiguration_select_questionnaire_intro.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,25 @@ | ||
# Generated by Django 3.2.15 on 2022-11-16 11:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"configurations", | ||
"0025_rename_select_questionnaire_subtitle_siteconfiguration_select_questionnaire_intro", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="siteconfiguration", | ||
name="select_questionnaire_intro", | ||
field=models.TextField( | ||
default="Kies hieronder één van de volgende vragenlijsten om de zelfdiagnose te starten.", | ||
help_text="Questionaire selector intro on the theme and profile pages.", | ||
verbose_name="Questionaire selector widget intro", | ||
), | ||
), | ||
] |
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
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
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
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