Changeset View
Changeset View
Standalone View
Standalone View
src/resources/vue/SharedFolder/List.vue
Show All 9 Lines | <div class="container"> | ||||
</btn-router> | </btn-router> | ||||
</div> | </div> | ||||
<div class="card-text"> | <div class="card-text"> | ||||
<table class="table table-sm table-hover"> | <table class="table table-sm table-hover"> | ||||
<thead> | <thead> | ||||
<tr> | <tr> | ||||
<th scope="col">{{ $t('form.name') }}</th> | <th scope="col">{{ $t('form.name') }}</th> | ||||
<th scope="col">{{ $t('form.type') }}</th> | <th scope="col">{{ $t('form.type') }}</th> | ||||
<th scope="col">{{ $t('form.email') }}</th> | |||||
</tr> | </tr> | ||||
</thead> | </thead> | ||||
<tbody> | <tbody> | ||||
<tr v-for="folder in folders" :key="folder.id" @click="$root.clickRecord"> | <tr v-for="folder in folders" :key="folder.id" @click="$root.clickRecord"> | ||||
<td> | <td> | ||||
<svg-icon icon="folder-open" :class="$root.statusClass(folder)" :title="$root.statusText(folder)"></svg-icon> | <svg-icon icon="folder-open" :class="$root.statusClass(folder)" :title="$root.statusText(folder)"></svg-icon> | ||||
<router-link :to="{ path: 'shared-folder/' + folder.id }">{{ folder.name }}</router-link> | <router-link :to="{ path: 'shared-folder/' + folder.id }">{{ folder.name }}</router-link> | ||||
</td> | </td> | ||||
<td>{{ $t('shf.type-' + folder.type) }}</td> | <td>{{ $t('shf.type-' + folder.type) }}</td> | ||||
<td><router-link :to="{ path: 'shared-folder/' + folder.id }">{{ folder.email }}</router-link></td> | |||||
</tr> | </tr> | ||||
</tbody> | </tbody> | ||||
<tfoot class="table-fake-body"> | <tfoot class="table-fake-body"> | ||||
<tr> | <tr> | ||||
<td colspan="3">{{ $t('shf.list-empty') }}</td> | <td colspan="2">{{ $t('shf.list-empty') }}</td> | ||||
</tr> | </tr> | ||||
</tfoot> | </tfoot> | ||||
</table> | </table> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
</template> | </template> | ||||
Show All 20 Lines |