Sharing: Swap page title and caption on overview page
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
ce471de921
commit
030f4064ec
2 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
:infinite-scroll-distance="10" :infinite-scroll-listen-for-event="'scrollRefresh'">
|
:infinite-scroll-distance="10" :infinite-scroll-listen-for-event="'scrollRefresh'">
|
||||||
<v-toolbar flat color="secondary" :dense="$vuetify.breakpoint.smAndDown">
|
<v-toolbar flat color="secondary" :dense="$vuetify.breakpoint.smAndDown">
|
||||||
<v-toolbar-title>
|
<v-toolbar-title>
|
||||||
{{ $config.values.siteAuthor }}
|
<translate>Albums</translate>
|
||||||
</v-toolbar-title>
|
</v-toolbar-title>
|
||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
<v-container fluid class="pa-4" v-if="loading">
|
<v-container fluid class="pa-4" v-if="loading">
|
||||||
|
|
|
@ -2,6 +2,8 @@ import Albums from "share/albums.vue";
|
||||||
import AlbumPhotos from "share/photos.vue";
|
import AlbumPhotos from "share/photos.vue";
|
||||||
import {$gettext} from "common/vm";
|
import {$gettext} from "common/vm";
|
||||||
|
|
||||||
|
const c = window.__CONFIG__;
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
name: "home",
|
name: "home",
|
||||||
|
@ -12,7 +14,7 @@ export default [
|
||||||
name: "albums",
|
name: "albums",
|
||||||
path: "/s/:token",
|
path: "/s/:token",
|
||||||
component: Albums,
|
component: Albums,
|
||||||
meta: {title: $gettext("Albums"), auth: true},
|
meta: {title: c.siteAuthor, auth: true},
|
||||||
props: {view: "album", staticFilter: {type: "album"}},
|
props: {view: "album", staticFilter: {type: "album"}},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue