mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
This reverts commit 0040c857ec.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<button
|
||||
type="button"
|
||||
class="tw-border-none tw-bg-transparent tw-text-primary-600 tw-p-0"
|
||||
[bitPopoverTriggerFor]="permitDetailsPopover"
|
||||
position="above-center"
|
||||
[appA11yTitle]="'aboutThisSetting' | i18n"
|
||||
bitLink
|
||||
>
|
||||
<i class="bwi bwi-question-circle"></i>
|
||||
</button>
|
||||
|
||||
<bit-popover [title]="'aboutThisSetting' | i18n" #permitDetailsPopover>
|
||||
<p>
|
||||
{{ "permitCipherDetailsDescription" | i18n }}
|
||||
</p>
|
||||
<div class="tw-flex tw-gap-1.5 tw-items-center">
|
||||
<a bitLink href="#" (click)="openLearnMore($event)" class="tw-flex">
|
||||
{{ "learnMore" | i18n }}
|
||||
</a>
|
||||
<i slot="end" class="bwi bwi-external-link tw-text-primary-600" aria-hidden="true"></i>
|
||||
</div>
|
||||
</bit-popover>
|
||||
@@ -0,0 +1,19 @@
|
||||
import { Component, inject } from "@angular/core";
|
||||
|
||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||
import { LinkModule, PopoverModule } from "@bitwarden/components";
|
||||
|
||||
@Component({
|
||||
selector: "vault-permit-cipher-details-popover",
|
||||
templateUrl: "./permit-cipher-details-popover.component.html",
|
||||
imports: [PopoverModule, JslibModule, LinkModule],
|
||||
})
|
||||
export class PermitCipherDetailsPopoverComponent {
|
||||
private platformUtilService = inject(PlatformUtilsService);
|
||||
|
||||
openLearnMore(e: Event) {
|
||||
e.preventDefault();
|
||||
this.platformUtilService.launchUri("https://bitwarden.com/help/website-icons/");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user