mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Update welcome tour, move admin button
This commit is contained in:
		| @@ -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! 🙏`, | ||||
|   | ||||
| @@ -174,13 +174,6 @@ | ||||
|               </svg><span> <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> <ng-container i18n>Admin</ng-container></span> | ||||
|             </a> | ||||
|           </li> | ||||
|         </ul> | ||||
|  | ||||
|         <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> | ||||
|   <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"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon