diff --git a/frontend/src/common/config.js b/frontend/src/common/config.js index 4177762ba..f970d1df5 100644 --- a/frontend/src/common/config.js +++ b/frontend/src/common/config.js @@ -54,6 +54,9 @@ class Config { const type = ev.split(".")[1]; switch (type) { + case "videos": + this.values.count.videos += data.count; + break; case "favorites": this.values.count.favorites += data.count; break; diff --git a/frontend/src/component/p-navigation.vue b/frontend/src/component/p-navigation.vue index 24e710496..21a6a577c 100644 --- a/frontend/src/component/p-navigation.vue +++ b/frontend/src/component/p-navigation.vue @@ -55,9 +55,7 @@ - - Photos - + {{ $gettext('Photos') }} @@ -65,37 +63,44 @@ - Photos + {{ $gettext('Photos') }} {{ config.count.photos }} - + - - Monochrome - + {{ $gettext('Monochrome') }} - - Review - + {{ $gettext('Review') }} - + - - Archive - + {{ $gettext('Archive') }} + + + slideshow + + + + + {{ $gettext('Videos') }} + {{ config.count.videos }} + + + + favorite @@ -103,21 +108,21 @@ - Favorites - {{ config.count.favorites }} + {{ $gettext('Favorites') }} + {{ config.count.favorites }} - + lock - Private - {{ config.count.private }} + {{ $gettext('Private') }} + {{ config.count.private }} @@ -129,7 +134,7 @@ - Albums + {{ $gettext('Albums') }} @@ -138,7 +143,7 @@ - Albums + {{ $gettext('Albums') }} {{ config.count.albums }} @@ -154,36 +159,36 @@ - + label - Labels - {{ $gettext('Labels') }} + {{ config.count.labels }} + v-show="$config.feature('places')"> place - Places - {{ $gettext('Places') }} + {{ config.count.places }} -