#{{this.repo.currentBuild.number}}
@@ -110,7 +110,7 @@
-
+
{{this.repo.currentScan.state}}
@@ -153,7 +153,7 @@
{{#if this.isTriggering}}
{{else}}
-
+
diff --git a/tests/integration/components/billing/select-plan-test.js b/tests/integration/components/billing/select-plan-test.js
index 4bd89f7753..59073d29a5 100644
--- a/tests/integration/components/billing/select-plan-test.js
+++ b/tests/integration/components/billing/select-plan-test.js
@@ -57,7 +57,7 @@ module('Integration | Component | billing-select-plan', function (hooks) {
await render(hbs`
`
);
@@ -71,7 +71,7 @@ module('Integration | Component | billing-select-plan', function (hooks) {
await render(hbs`
`
);
From 0ba2f2491ce228f8b6352e8cf2a0b8e7eb2766d5 Mon Sep 17 00:00:00 2001
From: Maciej Kempin
Date: Tue, 28 Nov 2023 00:15:57 +0000
Subject: [PATCH 093/154] so far so fix
---
app/components/build-message.js | 4 +---
app/controllers/dashboard.js | 6 +-----
app/controllers/dashboard/repositories.js | 6 +-----
app/helpers/commit-link.js | 6 ++----
app/helpers/format-message.js | 3 ++-
app/initializers/array.js | 6 ++----
app/routes/job.js | 2 +-
app/routes/job/config.js | 6 ++++--
app/routes/repo.js | 9 ---------
app/services/tasks.js | 6 +-----
app/templates/repo.hbs | 3 +++
tests/acceptance/home/sidebar-tabs-test.js | 2 +-
tests/acceptance/job/basic-layout-test.js | 2 +-
tests/integration/components/user-avatar-test.js | 2 +-
14 files changed, 21 insertions(+), 42 deletions(-)
diff --git a/app/components/build-message.js b/app/components/build-message.js
index 4077cd0728..574c2ec491 100644
--- a/app/components/build-message.js
+++ b/app/components/build-message.js
@@ -5,9 +5,7 @@ import { and, notEmpty } from '@ember/object/computed';
import { htmlSafe } from '@ember/template';
import { typeOf } from '@ember/utils';
import { codeblockName } from 'travis/utils/format-config';
-import { Handlebars } from 'ember';
-
-const { Utils: { escapeExpression: escape } } = Handlebars;
+import { escape } from 'travis/helpers/format-message';
export default Component.extend({
tagName: '',
diff --git a/app/controllers/dashboard.js b/app/controllers/dashboard.js
index 5aeb7aa662..bd39e460a0 100644
--- a/app/controllers/dashboard.js
+++ b/app/controllers/dashboard.js
@@ -40,11 +40,7 @@ export default Controller.extend({
'model.starredRepos.@each.currentBuildFinishedAt',
function () {
let repositories = this.get('model.starredRepos');
-
- for (const [key, value] of Object.entries(repositories)) {
- console.log(`${key}: ${value}`);
- }
- return (repositories || []).sort(dashboardRepositoriesSort);
+ return (repositories.content || []).sort(dashboardRepositoriesSort);
}
)
});
diff --git a/app/controllers/dashboard/repositories.js b/app/controllers/dashboard/repositories.js
index 0c84651782..df3405b953 100644
--- a/app/controllers/dashboard/repositories.js
+++ b/app/controllers/dashboard/repositories.js
@@ -18,11 +18,7 @@ export default Controller.extend({
'model.starredRepos.@each.currentBuildFinishedAt',
function () {
let repositories = this.get('model.starredRepos');
-
- for (const [key, value] of Object.entries(repositories)) {
- console.log(`${key}: ${value}`);
- }
- return (repositories || []).sort(dashboardRepositoriesSort);
+ return (repositories.content || []).sort(dashboardRepositoriesSort);
}
),
diff --git a/app/helpers/commit-link.js b/app/helpers/commit-link.js
index 396278aa4e..43326ce816 100644
--- a/app/helpers/commit-link.js
+++ b/app/helpers/commit-link.js
@@ -1,11 +1,9 @@
-import { Handlebars } from 'ember';
+import { escape } from 'travis/helpers/format-message';
import { htmlSafe } from '@ember/template';
import Helper from '@ember/component/helper';
import { inject as service } from '@ember/service';
import formatCommit from 'travis/utils/format-commit';
-const { Utils: { escapeExpression: escape } } = Handlebars;
-
export default Helper.extend({
externalLinks: service(),
@@ -24,6 +22,6 @@ export default Helper.extend({
const commitUrl = this.externalLinks.commitUrl(vcsType, { owner, repo, commit });
const url = escape(commitUrl);
const string = `${commit}`;
- return new htmlSafe(`${string}`);
+ return new htmlSafe(`${string}`);
}
});
diff --git a/app/helpers/format-message.js b/app/helpers/format-message.js
index ce5be24004..97a95c67ab 100644
--- a/app/helpers/format-message.js
+++ b/app/helpers/format-message.js
@@ -68,6 +68,7 @@ function formatMessage(message, options) {
message = handleEventType(message, options.eventType);
message = emojiConvertor.replace_colons(message);
+ console.log(message);
return message;
}
@@ -130,5 +131,5 @@ export default helper((params, options) => {
const message = params[0] || '';
const formattedMessage = formatMessage(message, options);
- return new htmlSafe(`${formattedMessage}`);
+ return new htmlSafe(`${formattedMessage}`);
});
diff --git a/app/initializers/array.js b/app/initializers/array.js
index 1c6bf587cb..b05adf327f 100644
--- a/app/initializers/array.js
+++ b/app/initializers/array.js
@@ -138,10 +138,8 @@ export function initialize() {
}
- if (!Array.prototype.sort) {
- Array.prototype.sort = function(...params) {
- return A(this).sort(...params)
- }
+ Array.prototype.sort = function(...params) {
+ return A(this).sort(...params)
}
if (!Array.prototype.rejectBy) {
diff --git a/app/routes/job.js b/app/routes/job.js
index 8d7c5abc40..795da0127c 100644
--- a/app/routes/job.js
+++ b/app/routes/job.js
@@ -53,7 +53,7 @@ export default TravisRoute.extend({
this.ensureJobOwnership(job, slug);
return job
.get('build.request')
- .then(request => request && this.tasks.fetchMessages.perform(perform));
+ .then(request => request && this.tasks.fetchMessages.perform(request));
},
beforeModel() {
diff --git a/app/routes/job/config.js b/app/routes/job/config.js
index 247effeb3f..1f10921a05 100644
--- a/app/routes/job/config.js
+++ b/app/routes/job/config.js
@@ -8,8 +8,10 @@ export default TravisRoute.extend({
model() {
let build = this.modelFor('job').build
- let requestId = build.get('build.request.id') || build.belongsTo('request').id();
- return this.store.findRecord('request', requestId);
+ return build.then((build_) => {
+ let requestId = build_.get('build.request.id') || build_.belongsTo('request').id();
+ return this.store.findRecord('request', requestId);
+ });
},
afterModel(request) {
diff --git a/app/routes/repo.js b/app/routes/repo.js
index 3ffe631e18..f0384261ac 100644
--- a/app/routes/repo.js
+++ b/app/routes/repo.js
@@ -58,15 +58,6 @@ export default TravisRoute.extend(ScrollResetMixin, {
beforeModel() {
const repo = this.modelFor('repo');
- console.log('Before Model');
- console.log(repo)
- // console.log(this.tasks);
- //here
- // for (const [key, value] of Object.entries(this.tasks)) {
- // console.log(`${key}: ${value}`);
- // }
- // console.log(this.tasks.fetchRepoOwnerAllowance);
- console.log('/Before Node')
if (repo && !repo.repoOwnerAllowance) {
this.tasks.fetchRepoOwnerAllowance.perform(repo);
}
diff --git a/app/services/tasks.js b/app/services/tasks.js
index 69afab94ab..ef8604fa58 100644
--- a/app/services/tasks.js
+++ b/app/services/tasks.js
@@ -33,10 +33,7 @@ export default Service.extend({
}).drop(),
fetchRepoOwnerAllowance: task(function* (repo) {
- console.log(repo);
- console.log("%%%repo$$$$")
const allowance = this.store.peekRecord('allowance', repo.id);
- console.log(allowance);
if (allowance)
return allowance;
return yield this.store.smartQueryRecord('allowance', { login: repo.owner.login, provider: repo.provider || 'github' });
@@ -49,6 +46,5 @@ export default Service.extend({
const response = yield request.api.get(`/repo/${repoId}/request/${requestId}/messages`) || {};
return response.messages;
}
- }).drop(),
-
+ }).drop()
});
diff --git a/app/templates/repo.hbs b/app/templates/repo.hbs
index 1630e4d817..4452343ef3 100644
--- a/app/templates/repo.hbs
+++ b/app/templates/repo.hbs
@@ -11,9 +11,12 @@
{{/if}}
+
+ And maybe now?!!!
{{#if this.repo.isLoaded}}
+
Date: Tue, 28 Nov 2023 13:18:51 +0000
Subject: [PATCH 094/154] some stuff
---
app/instance-initializers/pusher.js | 11 +-
.../components/with-config-validation.js | 3 +-
app/services/auth.js | 14 +-
app/services/status-images.js | 4 +-
app/services/store.js | 5 +-
app/templates/components/account-token.hbs | 6 +-
app/templates/components/custom-key.hbs | 4 +-
app/templates/components/log-content.hbs | 2 +-
app/templates/components/raw-config.hbs | 6 +-
app/templates/components/repo-actions.hbs | 6 +-
app/templates/components/request-config.hbs | 6 +-
app/templates/repo.hbs | 2 +-
app/utils/observable_array.js | 4 +
package-lock.json | 3110 +++++++++++++----
package.json | 4 +-
15 files changed, 2518 insertions(+), 669 deletions(-)
diff --git a/app/instance-initializers/pusher.js b/app/instance-initializers/pusher.js
index 4fb8dfe4e3..fe2ffb8543 100644
--- a/app/instance-initializers/pusher.js
+++ b/app/instance-initializers/pusher.js
@@ -3,18 +3,15 @@ import TravisPusher from 'travis/utils/pusher';
export function initialize(applicationInstance) {
const app = applicationInstance.application;
- const pusher = new TravisPusher(config.pusher, applicationInstance.lookup('service:api'));
+ app.pusher = new TravisPusher(config.pusher, applicationInstance.lookup('service:api'));
if (!applicationInstance.lookup('pusher:main')) {
- app.register('pusher:main', pusher, {
+ app.register('pusher:main', app.pusher, {
instantiate: false
});
}
- pusher.store = applicationInstance.lookup('service:store');
- pusher.pusherService = applicationInstance.lookup('service:pusher');
-
- // Setting the pusher instance in the application instance for explicit injection later
- applicationInstance.pusher = pusher;
+ app.pusher.store = applicationInstance.lookup('service:store');
+ app.pusher.pusherService = applicationInstance.lookup('service:pusher');
}
export default {
diff --git a/app/mixins/components/with-config-validation.js b/app/mixins/components/with-config-validation.js
index e4b710bf3b..bd79eb8e86 100644
--- a/app/mixins/components/with-config-validation.js
+++ b/app/mixins/components/with-config-validation.js
@@ -2,6 +2,7 @@ import Mixin from '@ember/object/mixin';
import { and, gt, reads } from '@ember/object/computed';
import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
+import { A } from '@ember/array';
export default Mixin.create({
auth: service(),
@@ -17,7 +18,7 @@ export default Mixin.create({
messagesMaxLevel: computed('messages.@each.level', function () {
if (this.hasMessages) {
- return this.messages.sortBy('level').lastObject.level;
+ return A(this.messages).sortBy('level').lastObject.level;
}
}),
diff --git a/app/services/auth.js b/app/services/auth.js
index 43c4371933..a95c717ae5 100644
--- a/app/services/auth.js
+++ b/app/services/auth.js
@@ -23,6 +23,7 @@ import {
} from 'travis/utils/vcs';
import { A } from '@ember/array';
import { debug } from '@ember/debug';
+import {resolve} from "rsvp";
const { authEndpoint, apiEndpoint } = config;
@@ -100,11 +101,16 @@ export default Service.extend({
return;
const { accounts } = this.storage;
const { vcsId } = this.currentUser;
- const stillLoggedIn = accounts.isAny('vcsId', vcsId);
- if (!stillLoggedIn) {
- this.router.transitionTo('signin');
- }
+ // I have doubts
+ return resolve(accounts).then((acc) => {
+ const stillLoggedIn = acc.isAny('vcsId', vcsId);
+ if (!stillLoggedIn) {
+ this.router.transitionTo('signin');
+ }
+ });
+
+
},
switchAccount(id, redirectUrl) {
diff --git a/app/services/status-images.js b/app/services/status-images.js
index c4d9d4f503..677f05fd1f 100644
--- a/app/services/status-images.js
+++ b/app/services/status-images.js
@@ -26,11 +26,11 @@ export default Service.extend({
prefix = config.apiEndpoint;
}
- let slug = repo.get('slug');
+ let slug = repo.slug;
// In Enterprise you can toggle public mode, where even "public" repositories are hidden
// in which cases we need to generate a token for all images
- if (!config.publicMode || repo.get('private')) {
+ if (!config.publicMode || repo.private) {
const token = this.auth.assetToken;
return `${prefix}/${slug}.svg?token=${token}${branch ? `&branch=${branch}` : ''}`;
} else {
diff --git a/app/services/store.js b/app/services/store.js
index 8f2559ef5f..73209741cd 100644
--- a/app/services/store.js
+++ b/app/services/store.js
@@ -43,8 +43,9 @@ export default class ExtendedStore extends Store {
}
smartQueryRecord(type, ...params) {
- const adapter = this.adapterFor(type);
- return adapter.queryRecord(this, type, ...params);
+ return this.queryRecord(type, ...params);
+ //const adapter = this.adapterFor(type);
+ //return adapter.queryRecord(this, type, ...params);
}
paginated(modelName, queryParams, options = {}) {
diff --git a/app/templates/components/account-token.hbs b/app/templates/components/account-token.hbs
index e8b5201244..2532579564 100644
--- a/app/templates/components/account-token.hbs
+++ b/app/templates/components/account-token.hbs
@@ -21,9 +21,9 @@
Copy token
diff --git a/app/templates/components/custom-key.hbs b/app/templates/components/custom-key.hbs
index 4e9f5df746..08eea5c913 100644
--- a/app/templates/components/custom-key.hbs
+++ b/app/templates/components/custom-key.hbs
@@ -22,8 +22,8 @@
diff --git a/app/templates/components/log-content.hbs b/app/templates/components/log-content.hbs
index a95e2a5737..8269b5dd63 100644
--- a/app/templates/components/log-content.hbs
+++ b/app/templates/components/log-content.hbs
@@ -41,7 +41,7 @@
@@ -91,7 +91,7 @@
Coupon invalid
{{else}}
-
diff --git a/app/templates/components/billing/selected-plan.hbs b/app/templates/components/billing/selected-plan.hbs
index 627825d3bc..88283c4400 100644
--- a/app/templates/components/billing/selected-plan.hbs
+++ b/app/templates/components/billing/selected-plan.hbs
@@ -30,7 +30,7 @@
{{pluralize this.selectedPlan.concurrencyLimit "concurrent job"}}
{{/if}}
-
+
Change plan
diff --git a/app/templates/components/billing/summary-v2.hbs b/app/templates/components/billing/summary-v2.hbs
index f0267c93cb..c97a95ebdc 100644
--- a/app/templates/components/billing/summary-v2.hbs
+++ b/app/templates/components/billing/summary-v2.hbs
@@ -1,11 +1,11 @@
-
+{{!-- --}}
- {{#if (not this.account.hasSubscriptionPermissions)}}
+ {{#unless this.account.hasSubscriptionPermissions}}
You don't have admin permissions to edit this subscription.
- {{/if}}
+ {{/unless}}
{{#if this.showPlanInfo}}
{{#if (and (not this.subscription.plan.isTrial) (and this.subscription.isNotManual (eq this.subscription.plan.planType 'metered')))}}
@@ -148,7 +148,7 @@
{{/if}}
{{/if}}
-
+ {{!--
--}}
@@ -156,7 +156,7 @@
{{#if this.subscription.hasUserLicenseAddons}}
{{#if this.account.isOrganization}}
-
+
User management
{{#if this.account.isOrganization}}
-
+
User management
- {{#if (not this.account.hasSubscriptionPermissions)}}
+ {{#unless this.account.hasSubscriptionPermissions}}
You don't have admin permissions to edit this subscription.
- {{/if}}
- {{#if (not this.showPlansSelector)}}
+ {{/unless}}
+ {{#unless this.showPlansSelector}}
- {{/if}}
+ {{/unless}}
{{#if this.subscription.isGithub}}
- {{else}}
-
- You don't have permission to create a subscription
-
- {{/if}}
-{{else}}
+{{#if this.trial}}
@@ -94,4 +80,18 @@
@showPlansSelector={{true}}
@isProcessCompleted={{this.isProcessCompleted}}
/>
+{{else}}
+ {{#if this.hasNoSubscriptionPermissions}}
+
+ You don't have permission to create a subscription
+
+ {{else}}
+
+ {{/if}}
{{/if}}
diff --git a/app/templates/components/build-tabs.hbs b/app/templates/components/build-tabs.hbs
index 06beade192..03aa1392ca 100644
--- a/app/templates/components/build-tabs.hbs
+++ b/app/templates/components/build-tabs.hbs
@@ -4,7 +4,7 @@
@@ -16,7 +16,7 @@
@route="build.config"
@models={{array this.build.repo this.build}}
data-test-build-yaml-tab
- @title="Look at this build's config"
+ title="Look at this build's config"
@disabled={{this.build.request.noYaml}}
>
{{#if this.build.request.noYaml}}
diff --git a/app/templates/components/builds-backup-item.hbs b/app/templates/components/builds-backup-item.hbs
index cbcdfdee6d..3504abc906 100644
--- a/app/templates/components/builds-backup-item.hbs
+++ b/app/templates/components/builds-backup-item.hbs
@@ -6,7 +6,7 @@
- download
+ download
diff --git a/app/templates/components/button-activate-all-github.hbs b/app/templates/components/button-activate-all-github.hbs
index 0122c30f74..f600008989 100644
--- a/app/templates/components/button-activate-all-github.hbs
+++ b/app/templates/components/button-activate-all-github.hbs
@@ -12,8 +12,7 @@
{{else}}
Activate all repositories using GitHub Apps
diff --git a/app/templates/components/custom-key.hbs b/app/templates/components/custom-key.hbs
index 08eea5c913..e4096440df 100644
--- a/app/templates/components/custom-key.hbs
+++ b/app/templates/components/custom-key.hbs
@@ -70,18 +70,14 @@
Cancel
Confirm
diff --git a/app/templates/components/dashboard-row.hbs b/app/templates/components/dashboard-row.hbs
index 34248f8aab..6b4706d855 100644
--- a/app/templates/components/dashboard-row.hbs
+++ b/app/templates/components/dashboard-row.hbs
@@ -6,7 +6,7 @@
@@ -23,7 +23,7 @@
{{this.repo.owner.login}}
@@ -32,7 +32,7 @@
{{this.repo.name}}
@@ -166,7 +166,7 @@
@@ -178,7 +178,7 @@
@@ -216,7 +216,7 @@
Trigger a build
@@ -224,7 +224,7 @@
Trigger a build
diff --git a/app/templates/components/dialogs/cancel-subscription-modal.hbs b/app/templates/components/dialogs/cancel-subscription-modal.hbs
index fb774b8130..3553393fef 100644
--- a/app/templates/components/dialogs/cancel-subscription-modal.hbs
+++ b/app/templates/components/dialogs/cancel-subscription-modal.hbs
@@ -1,6 +1,6 @@
@@ -39,10 +39,10 @@
{{#if this.cancelSubscription.isRunning}}
{{else}}
-
+
Confirm cancellation
-
+
I changed my mind
{{/if}}
diff --git a/app/templates/components/dialogs/migrate-beta.hbs b/app/templates/components/dialogs/migrate-beta.hbs
index f47af1ee20..85cc793889 100644
--- a/app/templates/components/dialogs/migrate-beta.hbs
+++ b/app/templates/components/dialogs/migrate-beta.hbs
@@ -2,7 +2,7 @@
@isVisible={{this.isOpen}}
@closeOnClickOverlay={{false}}
@closeButton={{true}}
- @onClose={{fn @onClose}}
+ @onClose={{@onClose}}
>
@@ -53,7 +53,7 @@
class="button--blue {{if this.register.isRunning 'disabled'}}"
disabled={{this.register.isRunning}}
onclick={{perform this.register}}
- data-test-migrate-submit="true"
+ data-test-migrate-submit="true" type="button"
>
{{#if this.register.isRunning}}
Joining...
diff --git a/app/templates/components/dialogs/plan-switch-warning.hbs b/app/templates/components/dialogs/plan-switch-warning.hbs
index ab09314afc..d10a09fcb3 100644
--- a/app/templates/components/dialogs/plan-switch-warning.hbs
+++ b/app/templates/components/dialogs/plan-switch-warning.hbs
@@ -2,7 +2,7 @@
@isVisible={{this.isOpen}}
@closeOnClickOverlay={{false}}
@closeButton={{true}}
- @onClose={{fn @onClose}}
+ @onClose={{@onClose}}
>
@@ -13,8 +13,7 @@
Pay to complete order
diff --git a/app/templates/components/dialogs/prioritize-build-modal.hbs b/app/templates/components/dialogs/prioritize-build-modal.hbs
index c208fa0077..7a8675dbe3 100644
--- a/app/templates/components/dialogs/prioritize-build-modal.hbs
+++ b/app/templates/components/dialogs/prioritize-build-modal.hbs
@@ -68,15 +68,14 @@
Prioritize build
{{/if}}
- {{#if (not this.increasePriorityTask.isRunning)}}
+ {{#unless this.increasePriorityTask.isRunning}}
Cancel
- {{/if}}
+ {{/unless}}
\ No newline at end of file
diff --git a/app/templates/components/dialogs/switch-to-free-modal.hbs b/app/templates/components/dialogs/switch-to-free-modal.hbs
index e29c6a04ee..7b1e809f5e 100644
--- a/app/templates/components/dialogs/switch-to-free-modal.hbs
+++ b/app/templates/components/dialogs/switch-to-free-modal.hbs
@@ -1,6 +1,6 @@
@@ -47,13 +47,13 @@
{{#if this.switchToFreeSubscription.isRunning}}
{{else}}
-
- {{#if (not this.selectedSwitchToFreeReason)}}
+
+ {{#unless this.selectedSwitchToFreeReason}}
- {{/if}}
+ {{/unless}}
Confirm & switch to Free Plan
-
+
I changed my mind
{{/if}}
diff --git a/app/templates/components/dialogs/user-management-modal.hbs b/app/templates/components/dialogs/user-management-modal.hbs
index 203b560893..33b589f618 100644
--- a/app/templates/components/dialogs/user-management-modal.hbs
+++ b/app/templates/components/dialogs/user-management-modal.hbs
@@ -1,6 +1,6 @@
@@ -58,7 +58,7 @@
-
+
Name
{{#if (eq this.sortField 'user.name')}}
{{#if (eq this.sortWay 'asc')}}
@@ -70,7 +70,7 @@
|
-
+
Permission
{{#if (eq this.sortField 'role')}}
{{#if (eq this.sortWay 'asc')}}
@@ -82,7 +82,7 @@
|
-
+
Active
{{#if (eq this.sortField 'permission')}}
{{#if (eq this.sortWay 'asc')}}
diff --git a/app/templates/components/dialogs/user-statistics-modal.hbs b/app/templates/components/dialogs/user-statistics-modal.hbs
index 6188792d88..46db3cb2bd 100644
--- a/app/templates/components/dialogs/user-statistics-modal.hbs
+++ b/app/templates/components/dialogs/user-statistics-modal.hbs
@@ -1,13 +1,13 @@
User statistics
{{this.usersCount}} active users
-
+
{{#if this.dateRange.start}}
{{moment-format this.dateRange.start "YYYY-MM-DD"}}
{{/if}}
diff --git a/app/templates/components/email-unsubscribe.hbs b/app/templates/components/email-unsubscribe.hbs
index 8dd929c5c5..36c7f6d80a 100644
--- a/app/templates/components/email-unsubscribe.hbs
+++ b/app/templates/components/email-unsubscribe.hbs
@@ -18,7 +18,7 @@
Try again
@@ -57,7 +57,7 @@
class="{{if this.isSubscribed 'button--orange' 'button--white'}} button--hover control control--primary"
disabled={{this.task.isRunning}}
onclick={{action "processTask"}}
- data-test-email-unsubscribe-primary-button
+ data-test-email-unsubscribe-primary-button type="button"
>
{{#if this.isUnsubscribing}}
Unsubscribing...
diff --git a/app/templates/components/enterprise-banner.hbs b/app/templates/components/enterprise-banner.hbs
index 0bc3d178e9..893a1262b4 100644
--- a/app/templates/components/enterprise-banner.hbs
+++ b/app/templates/components/enterprise-banner.hbs
@@ -45,7 +45,7 @@
enterprise@travis-ci.com
{{#unless this.expiringSoon}}
-
+
{{/unless}}
@@ -74,7 +74,7 @@
enterprise@travis-ci.com
if you need more seats.
-
+
diff --git a/app/templates/components/forms/form-field.hbs b/app/templates/components/forms/form-field.hbs
index e02e3cb90e..4e2114f405 100644
--- a/app/templates/components/forms/form-field.hbs
+++ b/app/templates/components/forms/form-field.hbs
@@ -118,10 +118,10 @@
{{#if this.requiresValidation }}
{{#if this.showValidationStatusIcons}}
-
+
-
+
{{/if}}
{{#if this.showValidationStatusMessage}}
diff --git a/app/templates/components/forms/multiple-inputs-field.hbs b/app/templates/components/forms/multiple-inputs-field.hbs
index c14270800d..cc85eaff7a 100644
--- a/app/templates/components/forms/multiple-inputs-field.hbs
+++ b/app/templates/components/forms/multiple-inputs-field.hbs
@@ -12,11 +12,11 @@
/>
{{#if (eq index this.lastFieldIndex)}}
-
+
{{else}}
-
+
{{/if}}
diff --git a/app/templates/components/header-links.hbs b/app/templates/components/header-links.hbs
index 338d3572c3..648bcc8383 100644
--- a/app/templates/components/header-links.hbs
+++ b/app/templates/components/header-links.hbs
@@ -50,15 +50,15 @@
{{#if this.features.proVersion}}
{{#if this.auth.signedIn}}
- {{#unless this.isActivation}}
-
+ {{#if this.isActivation}}
+
Dashboard
{{else}}
-
+
Dashboard
- {{/unless}}
+ {{/if}}
{{#if this.multiVcs.enableGithubLogin}}
-
+
Sign up with Github
@@ -21,7 +21,7 @@
{{/if}}
{{#if this.multiVcs.enableAssemblaLogin}}
-
+
Sign up with Assembla
@@ -29,7 +29,7 @@
{{/if}}
{{#if this.multiVcs.enableBitbucketLogin}}
-
+
Sign up with Bitbucket
@@ -37,7 +37,7 @@
{{/if}}
{{#if this.multiVcs.enableGitlabLogin}}
-
+
Sign up with Gitlab
@@ -48,7 +48,7 @@
{{/if}}
{{/if}}
{{#if this.auth.signingIn}}
-
+
diff --git a/app/templates/components/multi-signin-button.hbs b/app/templates/components/multi-signin-button.hbs
index e21dd1b441..3237103b9b 100644
--- a/app/templates/components/multi-signin-button.hbs
+++ b/app/templates/components/multi-signin-button.hbs
@@ -7,8 +7,7 @@
...attributes
>
{{#if this.auth.signingIn}}
Signing in
@@ -26,8 +25,7 @@
|