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

re meta#287 endret "definisjoner" til "betydning" etc., fjernet link fra underartikkel-oversksrift

parent c977fbc8
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
</ul>
</section>
<section>
<h3>Definisjoner</h3>
<h3>{{def_label}}</h3>
<ol>
<Definition v-for="definition in article.body.definitions" :dictionary="dictionary" :level="1" :key="definition.id" :body='definition' @article-click="article_link_click" />
</ol>
......@@ -35,6 +35,9 @@ export default {
computed: {
dictionary: function() {
return this.article.dictionary
},
def_label: function() {
return this.dictionary == 'bob' ? 'Betydning' : 'Tyding'
}
},
components: {
......
<template>
<li class="sub_article">
<span class="sub_article_header">
<router-link :to="'/' + dictionary + '/' + body.article_id" @click.native="article_link_click(body)">
{{body.lemmas[0]}}
</router-link>
{{body.lemmas[0]}}
</span>
<ul>
<DefElement :body="body.intro" v-if="body.intro" :dictionary="dictionary" @article-click="article_link_click" />
......@@ -43,6 +41,7 @@ export default {
<style scoped>
.sub_article_header {
font-weight: bold;
color: var(--v-primary-base);
}
li.sub_article {
......
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