Skip to content
Snippets Groups Projects
Commit a280526e authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

fikser meta#270

parent cc8be405
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
<div>
<h1 class="article_header">{{header_text}}</h1>
{{group_list}}
<details title="Klikk for å se bøyninger" @toggle="toggle()" v-if="group_list">
<details :title="inflect_tooltip" @toggle="toggle()" v-if="group_list">
<summary>Bøying</summary>
<div class="inflection">
<div v-for="(lemma, index) in inflection_groups_by_lemma" :key="index">
......@@ -46,6 +46,9 @@ export default {
header_text: function() {
return this.lemmas.map(lemma => lemma.lemma).join(', ')
},
inflect_tooltip: function() {
return this.dictionary == 'bob' ? 'Klikk for å se bøyinger' : 'Klikk for å sjå bøyingar'
},
dict_label: function() {
return {
'bob': 'BOKMÅL',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment