diff --git a/src-ui/src/app/app-routing.module.ts b/src-ui/src/app/app-routing.module.ts index ffd7054bb..a5131c396 100644 --- a/src-ui/src/app/app-routing.module.ts +++ b/src-ui/src/app/app-routing.module.ts @@ -117,13 +117,13 @@ export const routes: Routes = [ }, }, { - path: 'Viewallforder', + path: 'viewallfolder', component: ViewallForderComponent, canActivate: [PermissionsGuard], data: { requiredPermission: { action: PermissionAction.View, - type: PermissionType.Viewallforder, + type: PermissionType.Viewallfolder, }, }, }, diff --git a/src-ui/src/app/app.module.ts b/src-ui/src/app/app.module.ts index 08f961dce..ac4d87e52 100644 --- a/src-ui/src/app/app.module.ts +++ b/src-ui/src/app/app.module.ts @@ -340,6 +340,8 @@ import localeTr from '@angular/common/locales/tr' import localeUk from '@angular/common/locales/uk' import localeZh from '@angular/common/locales/zh' import localeVi from '@angular/common/locales/vi' +import { CommonModule } from '@angular/common'; +import { ViewallForderComponent } from './components/folder-management/viewall-forder/viewall-forder.component' registerLocaleData(localeAf) registerLocaleData(localeAr) @@ -382,6 +384,7 @@ function initializeApp(settings: SettingsService) { @NgModule({ declarations: [ + ViewallForderComponent, AppComponent, DocumentListComponent, DocumentDetailComponent, @@ -493,6 +496,7 @@ function initializeApp(settings: SettingsService) { DragDropModule, NgxBootstrapIconsModule.pick(icons), NgxFilesizeModule, + CommonModule, ], providers: [ { 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 c4cc6001d..d4492040e 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 @@ -173,11 +173,11 @@
Show
- - -{{ folder.name }}
- -Show
- - -| Name | +Data modified | +Type | +Size | +
|
+
+ Folder 1 + |
+ 11/10/2002 | +
+ File Folder + |
+
+ 2 KB + |
+
|
+
+ Document + |
+ 11/10/2002 | +
+ txt + |
+
+ 2 KB + |
+
| Document name | -Last modified | -File size | -
|---|---|---|
| {{ document.original_filename }} | -{{ document.modified | date:'medium' }} | -{{ calculateFileSize(document.archive_checksum) }} | -