diff --git a/src/frontend/app/app.module.ts b/src/frontend/app/app.module.ts index 9ec6ccd0..b979cc28 100644 --- a/src/frontend/app/app.module.ts +++ b/src/frontend/app/app.module.ts @@ -105,6 +105,7 @@ import {SettingsEntryComponent} from './ui/settings/template/settings-entry/sett import {UsersComponent} from './ui/settings/users/users.component'; import {SharingsListComponent} from './ui/settings/sharings-list/sharings-list.component'; import {ThemeService} from './model/theme.service'; +import {StringifyConfigPriority} from './pipes/StringifyConfigPriority'; @Injectable() export class MyHammerConfig extends HammerGestureConfig { @@ -235,6 +236,7 @@ Marker.prototype.options.icon = iconDefault; GPXFilesFilterPipe, MDFilesFilterPipe, StringifySearchQuery, + StringifyConfigPriority, FileDTOToPathPipe, PhotoFilterPipe, UsersComponent, diff --git a/src/frontend/app/pipes/StringifyConfigPriority.ts b/src/frontend/app/pipes/StringifyConfigPriority.ts new file mode 100644 index 00000000..44f7d92c --- /dev/null +++ b/src/frontend/app/pipes/StringifyConfigPriority.ts @@ -0,0 +1,13 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { ConfigPriority } from '../../../common/config/public/ClientConfig'; +import { SortingMethods } from '../../../common/entities/SortingMethods'; +import {EnumTranslations} from '../ui/EnumTranslations'; + +@Pipe({ name: 'stringifyConfigPriority' }) +export class StringifyConfigPriority implements PipeTransform { + + transform(method: ConfigPriority): string { + return EnumTranslations[ConfigPriority[method]]; + } +} + diff --git a/src/frontend/app/ui/admin/admin.component.html b/src/frontend/app/ui/admin/admin.component.html index fc376309..d8906932 100644 --- a/src/frontend/app/ui/admin/admin.component.html +++ b/src/frontend/app/ui/admin/admin.component.html @@ -48,18 +48,24 @@
- +
+ + +
diff --git a/src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html b/src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html index d813f894..b29a8f99 100644 --- a/src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html +++ b/src/frontend/app/ui/albums/saved-search-popup/saved-search-popup.component.html @@ -14,7 +14,7 @@ diff --git a/src/frontend/app/ui/gallery/filter/filter.gallery.component.html b/src/frontend/app/ui/gallery/filter/filter.gallery.component.html index 97e5109e..4c0f0a80 100644 --- a/src/frontend/app/ui/gallery/filter/filter.gallery.component.html +++ b/src/frontend/app/ui/gallery/filter/filter.gallery.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.css b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.css index 8d79a07a..df7fa141 100644 --- a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.css +++ b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.css @@ -1,6 +1,3 @@ -.container-fluid { - background-color: #e9ecef; -} .photos-count { display: inline-block; diff --git a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html index c5a3a3d4..8e70870c 100644 --- a/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html +++ b/src/frontend/app/ui/gallery/navigator/navigator.gallery.component.html @@ -1,4 +1,4 @@ -
+