Skip to content

Commit

Permalink
Merge pull request #4108 from SalesforceFoundation/feature/beth-donat…
Browse files Browse the repository at this point in the history
…ion-selector-helptext

BGE: Contextual help in Donation Selector modal
  • Loading branch information
ptewson-sfdo authored Mar 12, 2019
2 parents 2d6e390 + d1ed148 commit ae607f9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/aura/BGE_DonationSelector/BGE_DonationSelector.cmp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,18 @@
{!$Label.c.bgeFormMatchingModalText}
<a class="slds-m-left_x-small" onclick="{!c.handleNewOppDonationSelection}">{!$Label.c.bgeFormNoneLink}</a>
</h3>

<lightning:layout verticalAlign="stretch" multipleRows="true">

<!--Contextual help to explain which records will appear-->
<lightning:layoutItem size="12" padding="horizontal-small">
{!$Label.c.bgeDonationSelectorHelp}
</lightning:layoutItem>

<!--START UNPAID PAYMENTS CARDS-->
<aura:iteration var="donation" items="{!v.unpaidPayments}">
<lightning:layoutItem largeDeviceSize="4" mediumDeviceSize="6"
<lightning:layoutItem largeDeviceSize="4"
mediumDeviceSize="6"
size="12"
padding="around-small">
<lightning:card class="{!'slds-card_boundary sameCardHeight' + if(equals(donation.Id, v.selectedDonation.Id), ' selectedDonationCard')}">
Expand Down
7 changes: 7 additions & 0 deletions src/labels/CustomLabels.labels
Original file line number Diff line number Diff line change
Expand Up @@ -2694,6 +2694,13 @@ To check your GAU Allocation settings, go to Donations | GAU Allocations.</value
<shortDescription>Button text for copying existing Batch setup to a new Batch.</shortDescription>
<value>COPY</value>
</labels>
<labels>
<fullName>bgeDonationSelectorHelp</fullName>
<language>en_US</language>
<protected>true</protected>
<shortDescription>Help text to appear in Donation Selector modal in BGE.</shortDescription>
<value>Batch Gift Entry displays unpaid Payments and open Opportunities that have no unpaid Payments.</value>
</labels>
<labels>
<fullName>bgeEditBatchFieldOptionsWarning</fullName>
<language>en_US</language>
Expand Down
1 change: 1 addition & 0 deletions src/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@
<members>bgeBatchSetFieldOptions</members>
<members>bgeCopyBatchSetupBatchNameAppend</members>
<members>bgeCopyBatchSetupButton</members>
<members>bgeDonationSelectorHelp</members>
<members>bgeEditBatchFieldOptionsWarning</members>
<members>bgeEditBatchFieldSelectionWarning</members>
<members>bgeEditBatchOptionsWarning</members>
Expand Down

0 comments on commit ae607f9

Please sign in to comment.