More tweaks for Buefy support

This commit is contained in:
Lance Edgar 2019-04-15 20:34:34 -05:00
parent 4a92b05b57
commit e45dfd7351
7 changed files with 15 additions and 18 deletions

View file

@ -44,11 +44,14 @@
<div style="display: flex; justify-content: space-between; margin-bottom: 0.5em;">
<div class="filters">
% if grid.filterable:
## TODO: stop using |n filter
${grid.render_filters(allow_save_defaults=allow_save_defaults)|n}
% endif
<div style="display: flex; flex-direction: column; justify-content: space-between;">
<div></div>
<div class="filters">
% if grid.filterable:
## TODO: stop using |n filter
${grid.render_filters(allow_save_defaults=allow_save_defaults)|n}
% endif
</div>
</div>
<div style="display: flex; flex-direction: column; justify-content: space-between;">
@ -107,7 +110,7 @@
% if grid.is_linked(column['field']):
<a :href="props.row._action_url_view" v-html="props.row.${column['field']}"></a>
% else:
{{ props.row.${column['field']} }}
<span v-html="props.row.${column['field']}"></span>
% endif
</b-table-column>
% endfor