Skip to content
Snippets Groups Projects
Commit 80eb1f7e authored by martin.zumr's avatar martin.zumr
Browse files

[ADD] help_text on social_icon and twitter_username

parent 7bc1c432
Branches
No related tags found
3 merge requests!607Pirati.cz,!595[ADD] articles to news_block,!575Feature/pirati cz
...@@ -200,7 +200,8 @@ class OtherLinksBlock(StructBlock): ...@@ -200,7 +200,8 @@ class OtherLinksBlock(StructBlock):
class SocialLinkBlock(LinkBlock): 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: class Meta:
icon = "link" icon = "link"
......
...@@ -456,6 +456,7 @@ class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, ...@@ -456,6 +456,7 @@ class MainPersonPage(ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin,
blank=True, blank=True,
null=True, null=True,
max_length=32, max_length=32,
help_text="Uživatelské jméno zadejte bez @ na začátku"
) )
social_links = StreamField( social_links = StreamField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment