Skip to content

Commit

Permalink
xero content changes (#777)
Browse files Browse the repository at this point in the history
xero content cchanges
  • Loading branch information
DhaaraniCIT authored May 6, 2024
1 parent 28b13f8 commit ed3c3a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/branding/c1-contents-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const brandingConfig: BrandingConfiguration = config as BrandingConfigura
export const c1Contents = {
netsuite: {
landing: {
contentText: 'Import data from NetSuite to ' + brandingConfig.brandName + ' and export expenses from ' + brandingConfig.brandName + ' to NetSuite. ',
contentText: 'Import GL accounts and projects from NetSuite and export expenses from your ' + brandingConfig.brandName + ' account.',
guideHeaderText: 'How to setup your integration'
},
configuration: {
Expand Down Expand Up @@ -88,7 +88,7 @@ export const c1Contents = {
},
xero: {
landing: {
contentText: 'Import data from Xero to ' + brandingConfig.brandName + ' and export expenses from ' + brandingConfig.brandName + ' to Xero. ',
contentText: 'Import GL accounts and projects from Xero and export expenses from your ' + brandingConfig.brandName + ' account.',
guideHeaderText: 'How to setup your integration'
},
configuration: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div *ngIf="!isIncorrectXeroConnectedDialogVisible">
<div>
<app-landing-page-header [showXeroButton]="true" [logoWidth]="'65px'" [logoStyleClasses]="'tw-p-0'" [logoSectionStyleClasses]="''" [iconPath]="'assets/logos/xero-logo.png'" [appName]="'Xero'" [appDescription]="'Import data from Xero to ' + brandingConfig.brandName + ' and Export expenses from ' + brandingConfig.brandName + ' to Xero. '" [isLoading]="false" [isIntegrationSetupInProgress]="xeroConnectionInProgress" [isIntegrationConnected]="isIntegrationConnected" [redirectLink]="redirectLink" [buttonText]="'Connect'" [postConnectionRoute]="'xero/onboarding/connector'" (connectIntegration)="connectXero()"></app-landing-page-header>
<app-landing-page-header [showXeroButton]="true" [logoWidth]="'65px'" [logoStyleClasses]="'tw-p-0'" [logoSectionStyleClasses]="''" [iconPath]="'assets/logos/xero-logo.png'" [appName]="'Xero'" [appDescription]="brandingContent.contentText" [isLoading]="false" [isIntegrationSetupInProgress]="xeroConnectionInProgress" [isIntegrationConnected]="isIntegrationConnected" [redirectLink]="redirectLink" [buttonText]="'Connect'" [postConnectionRoute]="'xero/onboarding/connector'" (connectIntegration)="connectXero()"></app-landing-page-header>
</div>
<div>
<app-landing-page-body [headlineText]="brandingContent.guideHeaderText" [headerText]="'A quick guide to help you set up your Xero integration'" [svgPath]="'assets/flow-charts/' + brandingConfig.brandId +'-xero-data-flow.svg'" [appName]="appName" [embedImage]="brandingConfig.brandId==='co' ? 'assets/co/coXeroLanding.svg' : ''"></app-landing-page-body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,20 @@ <h3 *ngIf="!accountingCompanyConnectionInProgress && accountingCompanyName" clas
</div>
<div class="tw-w-300-px tw-text-pretty tw-text-center tw-py-16-px">
<span *ngIf="appName !== AppName.XERO" class="tw-text-14-px tw-text-normal-text-color tw-font-500 tw-text-center">Please select a Location (Entity) from {{accountingAppTitle}} to proceed further.</span>
<span *ngIf="appName === AppName.XERO" class="tw-text-14-px tw-text-normal-text-color tw-font-500 tw-text-center">select a Tenant from {{accountingAppTitle}} to continue</span>
<span *ngIf="appName === AppName.XERO" class="tw-text-14-px tw-text-normal-text-color tw-font-500 tw-text-center">Select a {{brandingConfig.brandId === 'co' ? 'tenant' : 'Tenant'}} from {{accountingAppTitle}} to continue</span>
</div>
</div>
</div>
<div *ngIf="accountingCompanyConnectionInProgress" class="tw-pb-8-px tw-text-center">
<p class="tw-text-14-px tw-pb-16-px tw-w-300-px tw-text-text-muted tw-text-center" *ngIf="brandingConfig.brandId === 'co'">
Fetching data from your {{appName}} account…</p>
<app-loader [styleClass]="'!tw-w-16-px !tw-h-16-px spinner-default'"></app-loader>
</div>
<div class="tw-text-14-px tw-font-500 tw-text-center">
<p *ngIf="!accountingCompanyConnectionInProgress && !accountingCompanyTokenExpired && showDisconnect && accountingCompanyName" class="tw-text-text-muted">
Not the company you want to connect?
</p>
<p *ngIf="accountingCompanyConnectionInProgress" class="tw-text-text-muted tw-max-w-300-px tw-text-pretty">
<p *ngIf="accountingCompanyConnectionInProgress && brandingConfig.brandId !== 'co'" class="tw-text-text-muted tw-max-w-300-px tw-text-pretty">
Please hold on; we are fetching data from your {{ accountingAppTitle }} account, which may take a few seconds.
</p>
<p *ngIf="accountingCompanyTokenExpired && !accountingCompanyConnectionInProgress" class="tw-text-text-muted ">
Expand Down

0 comments on commit ed3c3a3

Please sign in to comment.