diff --git a/main/blocks.py b/main/blocks.py index 1eb15471a076a77ba9871a1491b55e3e08bb9b4f..bbd252256fb17ff89b530aa5c2c5488bbfd25fe1 100644 --- a/main/blocks.py +++ b/main/blocks.py @@ -200,7 +200,8 @@ class OtherLinksBlock(StructBlock): class SocialLinkBlock(LinkBlock): - icon = CharBlock(label="Ikona", help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons") # TODO CSS class name or somthing better? + icon = CharBlock(label="Ikona", help_text="Seznam ikon - https://styleguide.pirati.cz/latest/?p=viewall-atoms-icons <br/>" + "Název ikony zadejte bez tečky na začátku") # TODO CSS class name or somthing better? class Meta: icon = "link" diff --git a/main/models.py b/main/models.py index a11db72b22b886baea2bf211e0acef0fc0e7a24c..9a1b5d81c65e68e683f3483e04223da228bd069f 100644 --- a/main/models.py +++ b/main/models.py @@ -456,6 +456,7 @@ class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, blank=True, null=True, max_length=32, + help_text="Uživatelské jméno zadejte bez @ na začátku" ) social_links = StreamField(