Skip to content

Commit

Permalink
Clarify Salesforce fields and add help text to describe what they are…
Browse files Browse the repository at this point in the history
… for (#1548)

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

* fix label

* wrong param name

* update field
  • Loading branch information
mwvolo authored Feb 23, 2024
1 parent 489dfc7 commit bd974e3
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit bd974e3

Please sign in to comment.