frontend showing m out of n sentences

This commit is contained in:
voje 2019-04-28 20:02:54 +02:00
parent 910955abb8
commit 1aff111cb9

View File

@ -6,7 +6,12 @@
<div class="col-sm-7">
<div class="row">
<div class="col-sm-12">
št. povedi: {{ frameData.sentences.length }}
<span v-if="frameData.sentences.length <= frameData.sentence_count">
št. povedi: {{ frameData.sentence_count }} (prikazanih {{ frameData.sentences.length }})
</span>
<span v-else>
št. povedi: {{ frameData.sentences.length }}
</span>
</div>
</div>