Fix batch row status breakdown for Buefy themes

also, fix the "import batch from file" feature UI, per Buefy theme
This commit is contained in:
Lance Edgar 2020-03-02 14:38:06 -06:00
parent 2100f0461d
commit 2605f5ab79
5 changed files with 33 additions and 5 deletions

View file

@ -14,8 +14,17 @@
>
<template slot-scope="props">
% for column in grid_columns:
<b-table-column field="${column['field']}" label="${column['label']}" ${'sortable' if column['sortable'] else ''}>
% for i, column in enumerate(grid_columns):
<b-table-column field="${column['field']}"
% if not empty_labels:
label="${column['label']}"
% elif i > 0:
label=" "
% endif
${'sortable' if column['sortable'] else ''}>
% if empty_labels and i == 0:
<template slot="header" slot-scope="{ column }"></template>
% endif
% if grid.is_linked(column['field']):
<a :href="props.row._action_url_view"
v-html="props.row.${column['field']}"