a guest Jul 22nd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <aura:component description="GDPR_Settings_Configuration" implements="force:appHostable">
  2. <aura:attribute name="gdprSetting" type="Object" description="The GDPR Configuration setting" />
  4. <aura:handler name="init" value="{!this}" action="{!c.handleInit}" />
  6. <lightning:card title="GDPR Auto Processing Configuration">
  7.         <br/>
  8.         <div class="slds-grid slds-wrap slds-col_padded slds-m-horizontal--small">
  9.             <div class="slds-col slds-size_1-of-3 slds-m-bottom_small">Condition</div>
  10.             <div class="slds-col slds-size_1-of-3 slds-m-bottom_small">Year value to build query to satisfy respected condition.</div>
  11.             <div class="slds-col slds-size_1-of-3 slds-m-bottom_small"></div>
  12.             <div class="slds-col slds-size_1-of-3 slds-m-bottom_small">
  13.                 <lightning:input label="Contacts Agreement Condition" name="contactsAgreementCondition" type="checkbox" value="{!v.gdprSetting.Contacts_Agreements_Condition__c}" checked="{!v.gdprSetting.Contacts_Agreements_Condition__c}" />
  14.             </div>
  15.             <div class="slds-col slds-size_1-of-3 slds-m-bottom_small">
  16.                 <lightning:input type="number" min="1" label="Contacts Agreement Year Value" name="contactsAgreementYearValue" value="{!v.gdprSetting.Agreements_Year_Value__c}" placeholder="Contacts Agreement Year Value" variant="label-hidden" disabled="{!v.gdprSetting.Contacts_Agreements_Condition__c == true ? false : true}" required="{!v.gdprSetting.Contacts_Agreements_Condition__c == true ? true : false}"/>
  17.             </div>
  18.          </div>
  19. </lightning:card>
  20. <div class="slds-text-align_right slds-m-horizontal_x-large">
  21.         <lightning:button name="save" label="SAVE" onclick="{!c.updateGDPRDetails}" variant="brand" />
  22. </div>
  23. </aura:component>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand