2016-12-08 07:50:46 +11:00
|
|
|
<template>
|
|
|
|
<div v-if="canDelete">
|
|
|
|
<a href="#" v-on:click.prevent="deleteStatus()">
|
2018-04-01 04:14:36 +10:00
|
|
|
<i class='icon-cancel delete-status'></i>
|
2016-12-08 07:50:46 +11:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./delete_button.js" ></script>
|
|
|
|
|
2018-04-08 02:30:27 +10:00
|
|
|
<style lang="scss">
|
|
|
|
@import '../../_variables.scss';
|
2016-12-08 07:50:46 +11:00
|
|
|
|
2018-04-08 02:30:27 +10:00
|
|
|
.icon-cancel,.delete-status {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
color: var(--cRed, $fallback--cRed);
|
|
|
|
color: $fallback--cRed;
|
2016-12-08 07:50:46 +11:00
|
|
|
}
|
2018-04-08 02:30:27 +10:00
|
|
|
}
|
2016-12-08 07:50:46 +11:00
|
|
|
</style>
|