diff --git a/src/components/TopBar.vue b/src/components/TopBar.vue index 3c80451e1e270c10bf21dd9b0e9a1480475089cb..dd9bbb019083fb88ac06284eadb9ee7cc48b269e 100644 --- a/src/components/TopBar.vue +++ b/src/components/TopBar.vue @@ -27,8 +27,9 @@ <v-divider vertical/> </v-toolbar-items> <v-toolbar-items v-if="$vuetify.breakpoint.mobile"> - <v-divider vertical/> - <v-dialog max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile" + <v-divider vertical/> + <v-btn text @click="toggleAbout" v-if="$route.name == 'about'"><v-icon left>chevron_left</v-icon>{{$t("back")}}</v-btn> + <v-dialog v-if="$route.name != 'about'" max-width="1200" width="1200" v-model="menuDialog" hide-overlay :fullscreen="$vuetify.breakpoint.mobile" :close-on-content-click="false" transition="dialog-top-transition"> <template v-slot:activator="{ on, attrs }"> <v-btn text v-bind="attrs" v-on="on"> diff --git a/src/locales/nor.json b/src/locales/nor.json index ff662b5c613da7c5eb638af546c32c9910d1bd51..a43b2473eb2e8731ad0993e5110d3f471fe76045 100644 --- a/src/locales/nor.json +++ b/src/locales/nor.json @@ -29,6 +29,8 @@ }, "close": "Lukk", "choose": "Velg", + "back": "Tilbake", + "back_to_results": "Tilbake til søkeresultater", "pos": { "ALL": "alle ordklasser", "NOUN": "substantiv",