fix: fix grid action icons for datasync/configure, per oruga
This commit is contained in:
parent
76897c24de
commit
793a15883e
|
@ -157,15 +157,29 @@
|
|||
<a href="#"
|
||||
class="grid-action"
|
||||
@click.prevent="editProfile(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="edit" />
|
||||
<span>Edit</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-edit"></i>
|
||||
Edit
|
||||
% endif
|
||||
</a>
|
||||
|
||||
<a href="#"
|
||||
class="grid-action has-text-danger"
|
||||
@click.prevent="deleteProfile(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="trash" />
|
||||
<span>Delete</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-trash"></i>
|
||||
Delete
|
||||
% endif
|
||||
</a>
|
||||
</${b}-table-column>
|
||||
<template #empty>
|
||||
|
@ -314,15 +328,29 @@
|
|||
v-slot="props">
|
||||
<a href="#"
|
||||
@click.prevent="editProfileWatcherKwarg(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="edit" />
|
||||
<span>Edit</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-edit"></i>
|
||||
Edit
|
||||
% endif
|
||||
</a>
|
||||
|
||||
<a href="#"
|
||||
class="has-text-danger"
|
||||
@click.prevent="deleteProfileWatcherKwarg(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="trash" />
|
||||
<span>Delete</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-trash"></i>
|
||||
Delete
|
||||
% endif
|
||||
</a>
|
||||
</${b}-table-column>
|
||||
<template #empty>
|
||||
|
@ -372,15 +400,29 @@
|
|||
<a href="#"
|
||||
class="grid-action"
|
||||
@click.prevent="editProfileConsumer(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="edit" />
|
||||
<span>Edit</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-edit"></i>
|
||||
Edit
|
||||
% endif
|
||||
</a>
|
||||
|
||||
<a href="#"
|
||||
class="grid-action has-text-danger"
|
||||
@click.prevent="deleteProfileConsumer(props.row)">
|
||||
% if request.use_oruga:
|
||||
<span class="icon-text">
|
||||
<o-icon icon="trash" />
|
||||
<span>Delete</span>
|
||||
</span>
|
||||
% else:
|
||||
<i class="fas fa-trash"></i>
|
||||
Delete
|
||||
% endif
|
||||
</a>
|
||||
</${b}-table-column>
|
||||
<template #empty>
|
||||
|
|
Loading…
Reference in a new issue