diff options
author | Corentin Mors <apps@pixelswap.fr> | 2020-10-16 10:11:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-16 10:11:41 +0300 |
commit | 4de71e575aa35a4cf95a2ef8c1662b0ef018eabc (patch) | |
tree | 364843f65670290064479d8b6385a2993bb13785 /src/Photos.vue | |
parent | 14addf399445650c53cf12238815e36ab9da5b3e (diff) | |
parent | f612c264bbd21288e41866756bb151e133686df3 (diff) |
Merge pull request #435 from nextcloud/enh/non-cropping
Non-cropped layout
Diffstat (limited to 'src/Photos.vue')
-rw-r--r-- | src/Photos.vue | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Photos.vue b/src/Photos.vue index d812132e..f9598fa8 100644 --- a/src/Photos.vue +++ b/src/Photos.vue @@ -39,6 +39,11 @@ :title="t('photos', 'Locations')" icon="icon-address" /> </template> + <template #footer> + <AppNavigationSettings :title="t('photos', 'Settings')"> + <CroppedLayoutSettings /> + </AppNavigationSettings> + </template> </AppNavigation> <AppContent :class="{ 'icon-loading': loading }"> <router-view v-show="!loading" :loading.sync="loading" /> @@ -55,23 +60,29 @@ </template> <script> +import { getCurrentUser } from '@nextcloud/auth' + import Content from '@nextcloud/vue/dist/Components/Content' import AppContent from '@nextcloud/vue/dist/Components/AppContent' import AppNavigation from '@nextcloud/vue/dist/Components/AppNavigation' import AppNavigationItem from '@nextcloud/vue/dist/Components/AppNavigationItem' +import AppNavigationSettings from '@nextcloud/vue/dist/Components/AppNavigationSettings' + +import CroppedLayoutSettings from './components/Settings/CroppedLayoutSettings' import svgplaceholder from './assets/file-placeholder.svg' import imgplaceholder from './assets/image.svg' import videoplaceholder from './assets/video.svg' import isMapsInstalled from './services/IsMapsInstalled' -import { getCurrentUser } from '@nextcloud/auth' export default { name: 'Photos', components: { Content, + CroppedLayoutSettings, AppContent, AppNavigation, AppNavigationItem, + AppNavigationSettings, }, data() { return { |