This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
178 additions
and
10 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
geocity/apps/reports/migrations/0029_sectionvalidation_service_style_and_more.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,58 @@ | ||
# Generated by Django 4.2.1 on 2023-06-30 08:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("reports", "0028_datamigration_update_sectionparapgraph"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="sectionvalidation", | ||
name="service_style", | ||
field=models.CharField( | ||
choices=[ | ||
("bold", "Gras"), | ||
("italic", "Italique"), | ||
("underline", "Souligné"), | ||
("h1", "Titre 1"), | ||
("h2", "Titre 2"), | ||
("h3", "Titre 3"), | ||
("h4", "Titre 4"), | ||
("h5", "Titre 5"), | ||
("h6", "Titre 6"), | ||
], | ||
default="h3", | ||
help_text="S'applique au nom du service", | ||
max_length=255, | ||
verbose_name="Style du service", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="sectionvalidation", | ||
name="show_empty_comment", | ||
field=models.BooleanField( | ||
default=False, | ||
help_text="Afficher/masquer les validations sans commentaires", | ||
verbose_name="Afficher les commentaires vides", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="sectionvalidation", | ||
name="show_status", | ||
field=models.BooleanField(default=False, verbose_name="Afficher le statut"), | ||
), | ||
migrations.AddField( | ||
model_name="sectionvalidation", | ||
name="style", | ||
field=models.PositiveSmallIntegerField( | ||
choices=[(0, "champ : valeur"), (1, "valeur")], | ||
default=0, | ||
help_text="Choisir le style d'affichage", | ||
verbose_name="Style", | ||
), | ||
), | ||
] |
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
Binary file modified
BIN
+27.8 KB
(120%)
geocity/tests/reports/data/test_block_gallery/page-003.expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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