Various things to support "notes management" from person profile view

This commit is contained in:
Lance Edgar 2019-06-06 13:49:59 -05:00
parent 6749604210
commit 1ee76878d9
4 changed files with 100 additions and 40 deletions

View file

@ -20,9 +20,15 @@
% if grid.main_actions or grid.more_actions:
<b-table-column field="actions" label="Actions">
% for action in grid.main_actions:
<a :href="props.row._action_url_${action.key}"><i class="fas fa-${action.icon}"></i>
<a :href="props.row._action_url_${action.key}"
% if action.click_handler:
@click.prevent="${action.click_handler}"
% endif
>
<i class="fas fa-${action.icon}"></i>
${action.label}
</a>
&nbsp;
% endfor
</b-table-column>
% endif

View file

@ -148,6 +148,7 @@
<a :href="props.row._action_url_${action.key}"><i class="fas fa-${action.icon}"></i>
${action.label}
</a>
&nbsp;
% endfor
</b-table-column>
% endif