diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 0975980eb7a57aad2fbd7021f94689da417ca7c1..942d0e95d424e45d3db3f81cd5709b0723d630f9 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -75,8 +75,8 @@ <p><v-icon left color=primary>error</v-icon> Ingen treff <span v-if="pos_selected"> i søk på {{$t('pos_plural.'+pos_selected)}}</span></p> <p v-if="!article && !no_results && inflection_suggestions && inflection_suggestions.length"><em>{{$route.query.q}}</em> er en bøyd form av <span v-for="(item,index) in inflection_suggestions" :key="index"><router-link :to="generate_path(item[0])" @click.native="suggestion_link(item[0])">{{item[0]}}</router-link>{{index == inflection_suggestions.length-1? '.' : ', '}}</span> - <p v-if="lang=='bm'">Har du søkt i feil ordbok?<br>Prøv å søke i <router-link :to="generate_path($route.query.q, {lang: 'nn'})" @click.native="language_link('nn')">Nynorskordboka</router-link></p> - <p v-if="lang=='nn'">Har du søkt i feil ordbok?<br>Prøv å søke i <router-link :to="generate_path($route.query.q, {lang: 'nn'})" @click.native="language_link('bm')">Bokmålsordboka</router-link></p> + <p class="suggest_lang" v-if="lang=='bm'">Har du søkt i feil ordbok?<br>Prøv å søke i <router-link :to="generate_path($route.query.q, {lang: 'nn'})" @click.native="language_link('nn')">Nynorskordboka</router-link></p> + <p class="suggest_lang" v-if="lang=='nn'">Har du søkt i feil ordbok?<br>Prøv å søke i <router-link :to="generate_path($route.query.q, {lang: 'nn'})" @click.native="language_link('bm')">Bokmålsordboka</router-link></p> <article v-if="similar && similar.length" class="v-sheet v-card rounded-xl did_you_mean"> <span class="dict-label">Mente du:</span> <v-list>