Display documents in projects in a more useful manner
This commit is contained in:
parent
6513da19cf
commit
a0b49a752b
|
|
@ -15,7 +15,7 @@
|
||||||
{{nextSteps}}
|
{{nextSteps}}
|
||||||
</p>
|
</p>
|
||||||
<p class="project-entry__paragraph" v-if="documentUrl">
|
<p class="project-entry__paragraph" v-if="documentUrl">
|
||||||
<a target="_blank" class="project-entry__link" :href="documentUrl">Dokument anzeigen</a>
|
<document-block :value="{url: documentUrl}"></document-block>
|
||||||
</p>
|
</p>
|
||||||
<div class="project-entry__date">
|
<div class="project-entry__date">
|
||||||
{{created | date }}
|
{{created | date }}
|
||||||
|
|
@ -24,7 +24,12 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import DocumentBlock from '@/components/content-blocks/DocumentBlock';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: {
|
||||||
|
DocumentBlock
|
||||||
|
},
|
||||||
props: ['activity', 'reflection', 'nextSteps', 'documentUrl', 'created']
|
props: ['activity', 'reflection', 'nextSteps', 'documentUrl', 'created']
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue