<context context-type="linenumber">43</context>
</context-group>
</trans-unit>
+ <trans-unit id="4524189418954028091" datatype="html">
+ <source>Hint: saved views can be created from the <x id="START_LINK" ctype="x-a" equiv-text="<a routerLink="/documents">"/>documents list<x id="CLOSE_LINK" ctype="x-a" equiv-text="</a>"/></source>
+ <context-group purpose="location">
+ <context context-type="sourcefile">src/app/components/dashboard/dashboard.component.html</context>
+ <context context-type="linenumber">42</context>
+ </context-group>
+ </trans-unit>
<trans-unit id="6581372518205328477" datatype="html">
<source>Hello <x id="PH" equiv-text="this.settingsService.displayName"/>, welcome to <x id="PH_1" equiv-text="environment.appTitle"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/dashboard/dashboard.component.ts</context>
- <context context-type="linenumber">57</context>
+ <context context-type="linenumber">61</context>
</context-group>
</trans-unit>
<trans-unit id="2901300640157872718" datatype="html">
<source>Welcome to <x id="PH" equiv-text="environment.appTitle"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/dashboard/dashboard.component.ts</context>
- <context context-type="linenumber">59</context>
+ <context context-type="linenumber">63</context>
</context-group>
</trans-unit>
<trans-unit id="1325877348738783391" datatype="html">
<source>Dashboard updated</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/dashboard/dashboard.component.ts</context>
- <context context-type="linenumber">90</context>
+ <context context-type="linenumber">94</context>
</context-group>
</trans-unit>
<trans-unit id="3214475953924351473" datatype="html">
<source>Error updating dashboard</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/dashboard/dashboard.component.ts</context>
- <context context-type="linenumber">93</context>
+ <context context-type="linenumber">97</context>
</context-group>
</trans-unit>
<trans-unit id="2946624699882754313" datatype="html">
}
<ng-container *pngxIfPermissions="{ action: PermissionAction.View, type: PermissionType.SavedView }">
+ @if (!settingsService.offerTour() && savedViewService.allViews.length === 0) {
+ <div class="col">
+ <div class="card shadow-sm bg-light opacity-50">
+ <div class="card-body">
+ <div class="text-center">
+ <p class="mb-0 fst-italic"><i-bs name="info-circle" class="me-2"></i-bs><ng-container i18n>Hint: saved views can be created from the <a routerLink="/documents">documents list</a></ng-container></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ }
@for (v of dashboardViews; track v.id) {
<div class="col">
<pngx-saved-view-widget
moveItemInArray,
} from '@angular/cdk/drag-drop'
import { Component } from '@angular/core'
+import { RouterModule } from '@angular/router'
+import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { TourNgBootstrapModule, TourService } from 'ngx-ui-tour-ng-bootstrap'
import { SavedView } from 'src/app/data/saved-view'
import { IfPermissionsDirective } from 'src/app/directives/if-permissions.directive'
IfPermissionsDirective,
DragDropModule,
TourNgBootstrapModule,
+ NgxBootstrapIconsModule,
+ RouterModule,
],
})
export class DashboardComponent extends ComponentWithPermissions {