diff options
author | Zero~Informatique | 2020-02-27 22:30:58 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-27 22:30:58 +0100 |
commit | fd8064319e352a0083c9e282125e658a44e4dabb (patch) | |
tree | f558e5d5e378e9eb272f0bb4cb559bcbf071dc74 /viewer/src/views | |
parent | d0063699f031706860689679d4ecf8651b545af1 (diff) | |
download | ldgallery-fd8064319e352a0083c9e282125e658a44e4dabb.tar.gz |
viewer: set page title
New version, making use of the galleryTitle property, from gallery.yaml
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index c9ab11a..6ab7d9a 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -19,7 +19,10 @@ | |||
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div :class="{'fullscreen': $uiStore.fullscreen, 'fullwidth': $uiStore.fullWidth}"> | 21 | <div :class="{'fullscreen': $uiStore.fullscreen, 'fullwidth': $uiStore.fullWidth}"> |
22 | <ld-title :current-item-path="$galleryStore.currentItemPath" /> | 22 | <ld-title |
23 | :gallery-title="$galleryStore.galleryTitle" | ||
24 | :current-item="$galleryStore.currentItem" | ||
25 | /> | ||
23 | <panel-top v-if="!isLoading" class="layout layout-top" /> | 26 | <panel-top v-if="!isLoading" class="layout layout-top" /> |
24 | <panel-left v-if="!isLoading" class="layout layout-left" /> | 27 | <panel-left v-if="!isLoading" class="layout layout-left" /> |
25 | <router-view v-if="!isLoading" ref="content" class="layout layout-content scrollbar" /> | 28 | <router-view v-if="!isLoading" ref="content" class="layout layout-content scrollbar" /> |