added links to single recorder view and added translations

This commit is contained in:
2020-02-24 16:03:43 +01:00
parent bbf30ec6f2
commit 3358b8ce93
4 changed files with 3610 additions and 3608 deletions

View File

@@ -28,8 +28,12 @@
<b-card-group deck>
<b-card class="mb-2" style="max-width: 30rem; min-width:20rem;"
v-for="(recorder) in recorders"
:header="recorder.name + ' (' + recorder.ip + ' / ' + recorder.network_name + ')'"
v-bind:key="recorder.id">
<template v-slot:header>
<router-link :to="{name: 'recorder', params: {recorder_id: recorder.id}}">
<h4>{{recorder.name}}</h4></router-link>
<h6>{{' (' + recorder.ip + ' / ' + recorder.network_name + ')'}}</h6>
</template>
<b-card-text>
<h5 class="card-title"><strong>{{ $t('name') }}:&nbsp;</strong>
<span v-if="!formEditField[recorder.id+'_name']">{{recorder.name}}&nbsp;