Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui, compliance] Remove the newline after .hbs copyright headers #16861

Merged
merged 2 commits into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/app/components/allocation-service-sidebar.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div
class="sidebar has-subnav service-sidebar {{if this.isSideBarOpen "open"}}"
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/breadcrumbs.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{yield this.crumbs}}
2 changes: 1 addition & 1 deletion ui/app/components/breadcrumbs/default.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{! template-lint-disable no-unknown-arguments-for-builtin-components }}
<li data-test-breadcrumb-default
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/breadcrumbs/job.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<Trigger @onError={{action this.onError}} @do={{this.fetchParent}} as |trigger|>
{{did-insert trigger.fns.do}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/chart-primitives/area.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<defs>
<linearGradient x1="0" x2="0" y1="0" y2="1" class="{{this.colorClass}}" id="{{this.fillId}}">
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/chart-primitives/h-annotations.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
{{#each this.processed key=@key as |annotation|}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/chart-primitives/tooltip.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-chart-tooltip class="chart-tooltip {{if @active "active" "inactive"}}" style={{@style}} ...attributes>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/chart-primitives/v-annotations.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
{{#each this.processed key=@key as |annotation|}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/accepted.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<section class="das-accepted">
<main>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/diffs-table.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<table class='diffs-table' ...attributes>
<tbody>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/dismissed.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<section class="das-dismissed {{if this.explanationUnderstood 'understood'}}">
{{#if this.explanationUnderstood}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/error.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<section class="das-error" data-test-recommendation-error>
<section>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/recommendation-accordion.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#if this.show}}
<ListAccordion
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/recommendation-card.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{! template-lint-disable no-duplicate-landmark-elements}}
{{#if this.interstitialComponent}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/recommendation-chart.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div
...attributes
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/recommendation-row.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#if @summary.taskGroup.allocations.length}}
{{! Prevent storing aggregate diffs until allocation count is known }}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/das/task-row.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<tr
class={{if @active 'active'}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/evaluation-sidebar/detail.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#let this.currentEvalDetail as |evaluation|}}
{{#if this.isSideBarOpen}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div class="boxed-section">
<div class="boxed-section-head">
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/keyboard-shortcuts-modal.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#if this.keyboard.shortcutsVisible}}
{{keyboard-commands (array this.escapeCommand)}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/metadata-editor.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<form class="metadata-editor">
<label>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/metadata-kv.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<tr data-test-attributes-section>
{{#if this.editing}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/policy-editor.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<form class="edit-policy" autocomplete="off" {{on "submit" this.save}}>
{{#if @policy.isNew }}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/primary-metric/allocation.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/primary-metric/current-value.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div class="columns secondary-graphic">
<div class="column">
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/primary-metric/node.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/primary-metric/task.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-primary-metric class="primary-metric" ...attributes
{{did-insert this.start}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/profile-navbar-item.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#if this.token.selfToken}}
<PowerSelect
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/providers/actors-relationships.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{yield
(hash fns=this.actorsRelationships.fns data=this.actorsRelationships.data)
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/service-status-indicator.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<span
class="service-status-indicator status-{{@check.Status}} tooltip is-right-aligned"
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/single-select-dropdown/index.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<div data-test-single-select-dropdown class="dropdown" ...attributes>
<PowerSelect
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/status-cell.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<span class="color-swatch {{@status}}"></span>{{@status}}
2 changes: 1 addition & 1 deletion ui/app/components/task-context-sidebar.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<Portal @target="log-sidebar-portal">
<div
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/task-sub-row.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<tr class="task-sub-row {{if @active "is-active"}}"
{{keyboard-shortcut
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/trigger.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{yield (hash data=this.data fns=this.fns)}}
2 changes: 1 addition & 1 deletion ui/app/components/variable-form.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{did-update this.onViewChange @view}}
{{did-insert this.establishKeyValues}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/variable-form/input-group.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<label class="value-label">
<span>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/variable-form/job-template-editor.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{did-insert this.establishKeyValues}}
<div>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/variable-form/namespace-filter.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<Trigger @do={{this.fetchNamespaces}} @onSuccess={{this.formatAndSetNamespaces}} as |trigger|>
{{did-insert trigger.fns.do}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/variable-form/related-entities.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<p class="related-entities notification">
<FlightIcon @name="info-fill" @color="var(--blue)" />
Expand Down
2 changes: 1 addition & 1 deletion ui/app/components/variable-paths.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<ListTable class="path-tree" @source={{@branch}} as |t|>
<t.head>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/allocations.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

<PageLayout>
{{outlet}}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/allocations/allocation.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{#each this.breadcrumbs as |crumb|}}
<Breadcrumb @crumb={{crumb}} />
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/allocations/allocation/fs.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
~}}

{{page-title this.pathWithLeadingSlash " - Allocation " this.allocation.shortId " filesystem"}}
<AllocationSubnav @allocation={{this.allocation}} />
Expand Down
Loading