mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
[SM-533] update onboarding CLI link (#4960)
This commit is contained in:
parent
6a6a47b52f
commit
9676387ab7
@ -15,7 +15,11 @@
|
|||||||
<button type="button" bitLink *ngIf="!route">
|
<button type="button" bitLink *ngIf="!route">
|
||||||
<ng-container *ngTemplateOutlet="content"></ng-container>
|
<ng-container *ngTemplateOutlet="content"></ng-container>
|
||||||
</button>
|
</button>
|
||||||
<div class="tw-ml-8 tw-mt-1 tw-text-sm" [ngClass]="{ 'tw-opacity-50': completed }">
|
<div
|
||||||
|
class="tw-ml-8 tw-mt-1 tw-text-sm"
|
||||||
|
[ngClass]="{ 'tw-opacity-50': completed }"
|
||||||
|
(click)="handleClick($event)"
|
||||||
|
>
|
||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@ -19,4 +19,11 @@ export class OnboardingTaskComponent {
|
|||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
route: string | any[];
|
route: string | any[];
|
||||||
|
|
||||||
|
handleClick(ev: MouseEvent) {
|
||||||
|
/**
|
||||||
|
* If the main `ng-content` is clicked, we don't want to trigger the task's click handler.
|
||||||
|
*/
|
||||||
|
ev.stopPropagation();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,13 @@
|
|||||||
[completed]="view.tasks.createServiceAccount"
|
[completed]="view.tasks.createServiceAccount"
|
||||||
>
|
>
|
||||||
<span class="tw-pl-1">
|
<span class="tw-pl-1">
|
||||||
{{ "downloadThe" | i18n }} <a bitLink routerLink="">{{ "smCLI" | i18n }}</a>
|
{{ "downloadThe" | i18n }}
|
||||||
|
<a
|
||||||
|
bitLink
|
||||||
|
href="https://bitwarden.com/help/secrets-manager/developer-quick-start/"
|
||||||
|
target="_blank"
|
||||||
|
>{{ "smCLI" | i18n }}</a
|
||||||
|
>
|
||||||
</span>
|
</span>
|
||||||
</sm-onboarding-task>
|
</sm-onboarding-task>
|
||||||
<sm-onboarding-task
|
<sm-onboarding-task
|
||||||
|
Loading…
Reference in New Issue
Block a user