Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Salesforce fields and add help text to describe what they are for #1548

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions books/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,9 @@ class Book(Page):
book_uuid = models.CharField(
max_length=255, help_text="collection.xml UUID. Should be same as cnx id.",
blank=True, null=True)
salesforce_abbreviation = models.CharField(max_length=255, blank=True, null=True)
salesforce_name = models.CharField(max_length=255, blank=True, null=True)
salesforce_abbreviation = models.CharField(max_length=255, blank=True, null=True, verbose_name='Subject Book Name', help_text='This should match the Books Name from Salesforce.')
salesforce_name = models.CharField(max_length=255, blank=True, null=True, verbose_name='Name displayed on website forms',
help_text='This is the name shown on interest/adoption forms and used in Partner filtering. The website only shows unique values from here, so it is possible to combine books for forms')
salesforce_book_id = models.CharField(max_length=255, blank=True, null=True,
help_text='No tracking and not included on adoption and interest forms if left blank)')
updated = models.DateTimeField(blank=True, null=True, help_text='Late date web content was updated')
Expand Down Expand Up @@ -761,7 +762,6 @@ def get_community_resource_feature_link_url(self):
FieldPanel('book_uuid'),
FieldPanel('salesforce_abbreviation'),
FieldPanel('salesforce_name'),
FieldPanel('salesforce_book_id'),
FieldPanel('updated'),
FieldPanel('publish_date'),
InlinePanel('book_subjects', label='Subjects'),
Expand Down
Loading