mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Update welcome tour, move admin button
This commit is contained in:
parent
98cdf614a5
commit
40c8629aef
@ -191,21 +191,13 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
anchorId: 'tour.settings',
|
anchorId: 'tour.settings',
|
||||||
content: $localize`Check out the settings for various tweaks to the web app or to toggle settings for saved views.`,
|
content: $localize`Check out the settings for various tweaks to the web app, toggle settings for saved views or setup e-mail checking.`,
|
||||||
route: '/settings',
|
route: '/settings',
|
||||||
enableBackdrop: true,
|
enableBackdrop: true,
|
||||||
prevBtnTitle,
|
prevBtnTitle,
|
||||||
nextBtnTitle,
|
nextBtnTitle,
|
||||||
endBtnTitle,
|
endBtnTitle,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
anchorId: 'tour.admin',
|
|
||||||
content: $localize`The Admin area contains more advanced controls as well as the settings for automatic e-mail fetching.`,
|
|
||||||
enableBackdrop: true,
|
|
||||||
prevBtnTitle,
|
|
||||||
nextBtnTitle,
|
|
||||||
endBtnTitle,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
anchorId: 'tour.outro',
|
anchorId: 'tour.outro',
|
||||||
title: $localize`Thank you! 🙏`,
|
title: $localize`Thank you! 🙏`,
|
||||||
|
@ -174,13 +174,6 @@
|
|||||||
</svg><span> <ng-container i18n>Settings</ng-container></span>
|
</svg><span> <ng-container i18n>Settings</ng-container></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item" tourAnchor="tour.admin">
|
|
||||||
<a class="nav-link" href="admin/" ngbPopover="Admin" i18n-ngbPopover [disablePopover]="!slimSidebarEnabled" placement="end" container="body" triggers="mouseenter:mouseleave" popoverClass="popover-slim">
|
|
||||||
<svg class="sidebaricon" fill="currentColor">
|
|
||||||
<use xlink:href="assets/bootstrap-icons.svg#toggles"/>
|
|
||||||
</svg><span> <ng-container i18n>Admin</ng-container></span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h6 class="sidebar-heading px-3 mt-auto pt-4 mb-1 text-muted">
|
<h6 class="sidebar-heading px-3 mt-auto pt-4 mb-1 text-muted">
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
<app-page-header title="Settings" i18n-title>
|
<app-page-header title="Settings" i18n-title>
|
||||||
<button class="btn btn-sm btn-outline-primary" (click)="tourService.start()"><ng-container i18n>Start tour</ng-container></button>
|
<button class="btn btn-sm btn-outline-primary" (click)="tourService.start()"><ng-container i18n>Start tour</ng-container></button>
|
||||||
|
<a class="btn btn-sm btn-primary ms-3" href="admin/" target="_blank">
|
||||||
|
<ng-container i18n>Open Django Admin</ng-container>
|
||||||
|
<svg class="sidebaricon ms-1" fill="currentColor">
|
||||||
|
<use xlink:href="assets/bootstrap-icons.svg#arrow-up-right"/>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
</app-page-header>
|
</app-page-header>
|
||||||
|
|
||||||
<!-- <p>items per page, documents per view type</p> -->
|
|
||||||
<form [formGroup]="settingsForm" (ngSubmit)="saveSettings()">
|
<form [formGroup]="settingsForm" (ngSubmit)="saveSettings()">
|
||||||
|
|
||||||
<ul ngbNav #nav="ngbNav" class="nav-tabs">
|
<ul ngbNav #nav="ngbNav" class="nav-tabs">
|
||||||
@ -218,7 +223,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li [ngbNavItem]="4">
|
<li [ngbNavItem]="4">
|
||||||
<a ngbNavLink i18n>Paperless Mail</a>
|
<a ngbNavLink i18n>Mail</a>
|
||||||
<ng-template ngbNavContent>
|
<ng-template ngbNavContent>
|
||||||
|
|
||||||
<ng-container *ngIf="mailAccounts && mailRules">
|
<ng-container *ngIf="mailAccounts && mailRules">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user