mirror of
https://github.com/bitwarden/browser
synced 2024-12-27 10:23:48 +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">
|
||||
<ng-container *ngTemplateOutlet="content"></ng-container>
|
||||
</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>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -19,4 +19,11 @@ export class OnboardingTaskComponent {
|
||||
|
||||
@Input()
|
||||
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"
|
||||
>
|
||||
<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>
|
||||
</sm-onboarding-task>
|
||||
<sm-onboarding-task
|
||||
|
Loading…
Reference in New Issue
Block a user