mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Rename <additional-information> component to <additional-options>
The Figma designs show and update to the Additional Information section. The heading changed to "Additional options". It probably makes sense to update the component name to match.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<bit-section>
|
<bit-section>
|
||||||
<bit-section-header>
|
<bit-section-header>
|
||||||
<h2 bitTypography="h6">{{ "additionalInformation" | i18n }}</h2>
|
<h2 bitTypography="h6">{{ "additionalOptions" | i18n }}</h2>
|
||||||
</bit-section-header>
|
</bit-section-header>
|
||||||
<bit-card>
|
<bit-card>
|
||||||
<label class="tw-text-xs tw-text-muted tw-select-none">
|
<label class="tw-text-xs tw-text-muted tw-select-none">
|
||||||
@@ -12,8 +12,8 @@ import {
|
|||||||
} from "@bitwarden/components";
|
} from "@bitwarden/components";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-additional-information",
|
selector: "app-additional-options",
|
||||||
templateUrl: "additional-information.component.html",
|
templateUrl: "additional-options.component.html",
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
@@ -26,6 +26,6 @@ import {
|
|||||||
TypographyModule,
|
TypographyModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class AdditionalInformationComponent {
|
export class AdditionalOptionsComponent {
|
||||||
@Input() notes: string;
|
@Input() notes: string;
|
||||||
}
|
}
|
||||||
@@ -8,9 +8,9 @@
|
|||||||
>
|
>
|
||||||
</app-item-details-v2>
|
</app-item-details-v2>
|
||||||
|
|
||||||
<!-- ADDITIONAL INFORMATION -->
|
<!-- ADDITIONAL OPTIONS -->
|
||||||
<ng-container *ngIf="cipher.notes">
|
<ng-container *ngIf="cipher.notes">
|
||||||
<app-additional-information [notes]="cipher.notes"> </app-additional-information>
|
<app-additional-options [notes]="cipher.notes"> </app-additional-options>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<!-- CUSTOM FIELDS -->
|
<!-- CUSTOM FIELDS -->
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import { PopupFooterComponent } from "../../../../apps/browser/src/platform/popu
|
|||||||
import { PopupHeaderComponent } from "../../../../apps/browser/src/platform/popup/layout/popup-header.component";
|
import { PopupHeaderComponent } from "../../../../apps/browser/src/platform/popup/layout/popup-header.component";
|
||||||
import { PopupPageComponent } from "../../../../apps/browser/src/platform/popup/layout/popup-page.component";
|
import { PopupPageComponent } from "../../../../apps/browser/src/platform/popup/layout/popup-page.component";
|
||||||
|
|
||||||
import { AdditionalInformationComponent } from "./additional-information/additional-information.component";
|
import { AdditionalOptionsComponent } from "./additional-options/additional-options.component";
|
||||||
import { AttachmentsV2Component } from "./attachments/attachments-v2.component";
|
import { AttachmentsV2Component } from "./attachments/attachments-v2.component";
|
||||||
import { CustomFieldV2Component } from "./custom-fields/custom-fields-v2.component";
|
import { CustomFieldV2Component } from "./custom-fields/custom-fields-v2.component";
|
||||||
import { ItemDetailsV2Component } from "./item-details/item-details-v2.component";
|
import { ItemDetailsV2Component } from "./item-details/item-details-v2.component";
|
||||||
@@ -35,7 +35,7 @@ import { ItemHistoryV2Component } from "./item-history/item-history-v2.component
|
|||||||
PopupHeaderComponent,
|
PopupHeaderComponent,
|
||||||
PopupFooterComponent,
|
PopupFooterComponent,
|
||||||
ItemDetailsV2Component,
|
ItemDetailsV2Component,
|
||||||
AdditionalInformationComponent,
|
AdditionalOptionsComponent,
|
||||||
AttachmentsV2Component,
|
AttachmentsV2Component,
|
||||||
ItemHistoryV2Component,
|
ItemHistoryV2Component,
|
||||||
CustomFieldV2Component,
|
CustomFieldV2Component,
|
||||||
|
|||||||
Reference in New Issue
Block a user