Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Update welcome tour, move admin button

Michael Shamoon40c8629aef6f
diff --git a/src-ui/src/app/app.component.ts b/src-ui/src/app/app.component.ts
index b385498fb..9a6962ccf 100644
--- a/src-ui/src/app/app.component.ts
+++ b/src-ui/src/app/app.component.ts
@@ -191,21 +191,13 @@ export class AppComponent implements OnInit, OnDestroy {
},
{
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',
enableBackdrop: true,
prevBtnTitle,
nextBtnTitle,
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',
title: $localize`Thank you! 🙏`,
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html
index 589b95f4f..5115303d7 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.html
+++ b/src-ui/src/app/components/app-frame/app-frame.component.html
@@ -174,13 +174,6 @@
</svg><span>&nbsp;<ng-container i18n>Settings</ng-container></span>
</a>
</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>&nbsp;<ng-container i18n>Admin</ng-container></span>
- </a>
- </li>
</ul>
<h6 class="sidebar-heading px-3 mt-auto pt-4 mb-1 text-muted">
diff --git a/src-ui/src/app/components/manage/settings/settings.component.html b/src-ui/src/app/components/manage/settings/settings.component.html
index 1f0ada8ab..9fb301828 100644
--- a/src-ui/src/app/components/manage/settings/settings.component.html
+++ b/src-ui/src/app/components/manage/settings/settings.component.html
@@ -1,8 +1,13 @@
<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>
+ <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>
-<!-- <p>items per page, documents per view type</p> -->
<form [formGroup]="settingsForm" (ngSubmit)="saveSettings()">
<ul ngbNav #nav="ngbNav" class="nav-tabs">
@@ -218,7 +223,7 @@
</li>
<li [ngbNavItem]="4">
- <a ngbNavLink i18n>Paperless Mail</a>
+ <a ngbNavLink i18n>Mail</a>
<ng-template ngbNavContent>
<ng-container *ngIf="mailAccounts && mailRules">