Add archive page link icon next to campaign archive toggle on UI. Closes #1028.
This commit is contained in:
parent
2761a5e033
commit
6fcb4ff978
1 changed files with 11 additions and 1 deletions
|
@ -204,7 +204,17 @@
|
|||
<section class="wrap">
|
||||
<b-field :label="$t('campaigns.archiveEnable')" data-cy="btn-archive"
|
||||
:message="$t('campaigns.archiveHelp')">
|
||||
<b-switch data-cy="btn-archive" v-model="form.archive" :disabled="!canArchive" />
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<b-switch data-cy="btn-archive" v-model="form.archive" :disabled="!canArchive" />
|
||||
</div>
|
||||
<div class="column is-12">
|
||||
<a :href="`${settings['app.root_url']}/archive/${data.uuid}`" target="_blank"
|
||||
:class="{'has-text-grey-light': !form.archive}">
|
||||
<b-icon icon="link-variant" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</b-field>
|
||||
|
||||
<b-field :label="$tc('globals.terms.template')" label-position="on-border">
|
||||
|
|
Loading…
Reference in a new issue