mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 16:39:01 +00:00
Fix typos in website code (#9015)
This commit is contained in:
parent
53b74e576c
commit
fce4bae018
4 changed files with 7 additions and 7 deletions
2
website/api/controllers/entrance/signup.js
vendored
2
website/api/controllers/entrance/signup.js
vendored
|
|
@ -123,7 +123,7 @@ the account verification message.)`,
|
|||
)
|
||||
.timeout(5000)
|
||||
.intercept(['requestFailed', 'non200Response'], (err)=>{
|
||||
// If we recieved a non-200 response from the cloud provisioner API, we'll throw a 500 error.
|
||||
// If we received a non-200 response from the cloud provisioner API, we'll throw a 500 error.
|
||||
return new Error('When attempting to provision a new user who just signed up ('+emailAddress+'), the cloud provisioner gave a non 200 response. The incomplete user record has not been saved in the database, and the user will be asked to try signing up again. Raw response received from provisioner: '+err.stack);
|
||||
})
|
||||
.intercept({name: 'TimeoutError'}, (err)=>{
|
||||
|
|
|
|||
8
website/scripts/get-bug-and-pr-report.js
vendored
8
website/scripts/get-bug-and-pr-report.js
vendored
|
|
@ -66,7 +66,7 @@ module.exports = {
|
|||
).retry();
|
||||
// Add the results to the allIssuesWithBugLabel array.
|
||||
allIssuesWithBugLabel = allIssuesWithBugLabel.concat(issuesWithBugLabel);
|
||||
// If we recieved less results than we requested, we've reached the last page of the results.
|
||||
// If we received less results than we requested, we've reached the last page of the results.
|
||||
return issuesWithBugLabel.length !== NUMBER_OF_RESULTS_REQUESTED;
|
||||
}, 10000);
|
||||
|
||||
|
|
@ -111,14 +111,14 @@ module.exports = {
|
|||
baseHeaders
|
||||
).retry();
|
||||
|
||||
// Filter the PRs we recieved from Github using the pull request's merged_at date.
|
||||
// Filter the PRs we received from Github using the pull request's merged_at date.
|
||||
let resultsToAdd = closedPullRequests.filter((pullRequest)=>{
|
||||
return threeWeeksAgo <= new Date(pullRequest.merged_at);
|
||||
});
|
||||
|
||||
// Add the filtered array of PRs to the array of all pull requests merged in the past three weeks.
|
||||
pullRequestsMergedInThePastThreeWeeks = pullRequestsMergedInThePastThreeWeeks.concat(resultsToAdd);
|
||||
// Stop when we've recieved results from the third page.
|
||||
// Stop when we've received results from the third page.
|
||||
return pageNumberForPaginatedResults === 3;
|
||||
});
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ module.exports = {
|
|||
).retry();
|
||||
// Add the results to the array of results.
|
||||
allOpenPullRequests = allOpenPullRequests.concat(pullRequests);
|
||||
// If we recieved less results than we requested, we've reached the last page of the results.
|
||||
// If we received less results than we requested, we've reached the last page of the results.
|
||||
return pullRequests.length !== NUMBER_OF_RESULTS_REQUESTED;
|
||||
}, 10000);
|
||||
for(let pullRequest of allOpenPullRequests) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<p>© 2022 Fleet Device Management Inc. All trademarks, service marks, and company names are the property of their respective owners.</p>
|
||||
</div>
|
||||
<div>
|
||||
<p style="font-size: 12px; color: #3E4771;">You recieved this email because you’re subscribed to the Fleet newsletter. <a href="<%= url.resolve(sails.config.custom.baseUrl, '/unsubscribe?emailAddress='+encodeURIComponent(emailAddress)) %>">Unsubscribe</a></p>
|
||||
<p style="font-size: 12px; color: #3E4771;">You received this email because you’re subscribed to the Fleet newsletter. <a href="<%= url.resolve(sails.config.custom.baseUrl, '/unsubscribe?emailAddress='+encodeURIComponent(emailAddress)) %>">Unsubscribe</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
2
website/views/pages/homepage.ejs
vendored
2
website/views/pages/homepage.ejs
vendored
|
|
@ -307,7 +307,7 @@
|
|||
</div>
|
||||
<div purpose="newsletter-form" class="text-center" v-if="cloudSuccess">
|
||||
<h4>Great!</h4>
|
||||
<p>You're all set to recieve updates on Fleet releases.</p>
|
||||
<p>You're all set to receive updates on Fleet releases.</p>
|
||||
</div>
|
||||
<div purpose="newsletter-form" class="d-flex flex-row justify-content-lg-start justify-content-center align-items-center w-100" v-else>
|
||||
<ajax-form class="w-100" action="createOrUpdateOneNewsletterSubscription" :form-errors.sync="formErrors" :form-data="formData" :form-rules="formRules" :syncing.sync="syncing" :cloud-error.sync="cloudError" @submitted="submittedNewsletterForm()">
|
||||
|
|
|
|||
Loading…
Reference in a new issue