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="#"
|
<a href="#"
|
||||||
class="grid-action"
|
class="grid-action"
|
||||||
@click.prevent="editProfile(props.row)">
|
@click.prevent="editProfile(props.row)">
|
||||||
<i class="fas fa-edit"></i>
|
% if request.use_oruga:
|
||||||
Edit
|
<span class="icon-text">
|
||||||
|
<o-icon icon="edit" />
|
||||||
|
<span>Edit</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-edit"></i>
|
||||||
|
Edit
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="grid-action has-text-danger"
|
class="grid-action has-text-danger"
|
||||||
@click.prevent="deleteProfile(props.row)">
|
@click.prevent="deleteProfile(props.row)">
|
||||||
<i class="fas fa-trash"></i>
|
% if request.use_oruga:
|
||||||
Delete
|
<span class="icon-text">
|
||||||
|
<o-icon icon="trash" />
|
||||||
|
<span>Delete</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-trash"></i>
|
||||||
|
Delete
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
</${b}-table-column>
|
</${b}-table-column>
|
||||||
<template #empty>
|
<template #empty>
|
||||||
|
@ -314,15 +328,29 @@
|
||||||
v-slot="props">
|
v-slot="props">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
@click.prevent="editProfileWatcherKwarg(props.row)">
|
@click.prevent="editProfileWatcherKwarg(props.row)">
|
||||||
<i class="fas fa-edit"></i>
|
% if request.use_oruga:
|
||||||
Edit
|
<span class="icon-text">
|
||||||
|
<o-icon icon="edit" />
|
||||||
|
<span>Edit</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-edit"></i>
|
||||||
|
Edit
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="has-text-danger"
|
class="has-text-danger"
|
||||||
@click.prevent="deleteProfileWatcherKwarg(props.row)">
|
@click.prevent="deleteProfileWatcherKwarg(props.row)">
|
||||||
<i class="fas fa-trash"></i>
|
% if request.use_oruga:
|
||||||
Delete
|
<span class="icon-text">
|
||||||
|
<o-icon icon="trash" />
|
||||||
|
<span>Delete</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-trash"></i>
|
||||||
|
Delete
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
</${b}-table-column>
|
</${b}-table-column>
|
||||||
<template #empty>
|
<template #empty>
|
||||||
|
@ -372,15 +400,29 @@
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="grid-action"
|
class="grid-action"
|
||||||
@click.prevent="editProfileConsumer(props.row)">
|
@click.prevent="editProfileConsumer(props.row)">
|
||||||
<i class="fas fa-edit"></i>
|
% if request.use_oruga:
|
||||||
Edit
|
<span class="icon-text">
|
||||||
|
<o-icon icon="edit" />
|
||||||
|
<span>Edit</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-edit"></i>
|
||||||
|
Edit
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a href="#"
|
<a href="#"
|
||||||
class="grid-action has-text-danger"
|
class="grid-action has-text-danger"
|
||||||
@click.prevent="deleteProfileConsumer(props.row)">
|
@click.prevent="deleteProfileConsumer(props.row)">
|
||||||
<i class="fas fa-trash"></i>
|
% if request.use_oruga:
|
||||||
Delete
|
<span class="icon-text">
|
||||||
|
<o-icon icon="trash" />
|
||||||
|
<span>Delete</span>
|
||||||
|
</span>
|
||||||
|
% else:
|
||||||
|
<i class="fas fa-trash"></i>
|
||||||
|
Delete
|
||||||
|
% endif
|
||||||
</a>
|
</a>
|
||||||
</${b}-table-column>
|
</${b}-table-column>
|
||||||
<template #empty>
|
<template #empty>
|
||||||
|
|
Loading…
Reference in a new issue