2021-07-06 07:32:37 +00:00
|
|
|
<template>
|
|
|
|
<div v-if="childContactName" class="merge-summary callout">
|
|
|
|
<h5 class="text-block-title">
|
|
|
|
{{ $t('MERGE_CONTACTS.SUMMARY.TITLE') }}
|
|
|
|
</h5>
|
|
|
|
<ul class="summary-items">
|
|
|
|
<li>
|
2021-10-13 13:05:13 +00:00
|
|
|
<span class="bullet">❌</span>
|
2021-07-06 07:32:37 +00:00
|
|
|
<span
|
|
|
|
v-html="
|
|
|
|
$t('MERGE_CONTACTS.SUMMARY.DELETE_WARNING', {
|
|
|
|
childContactName,
|
|
|
|
})
|
|
|
|
"
|
|
|
|
/>
|
|
|
|
</li>
|
|
|
|
<li>
|
2021-10-13 13:05:13 +00:00
|
|
|
<span class="bullet">✅</span>
|
2021-07-06 07:32:37 +00:00
|
|
|
<span
|
|
|
|
v-html="
|
|
|
|
$t('MERGE_CONTACTS.SUMMARY.ATTRIBUTE_WARNING', {
|
|
|
|
childContactName,
|
|
|
|
primaryContactName,
|
|
|
|
})
|
|
|
|
"
|
|
|
|
/>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
primaryContactName: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
childContactName: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
computed: {},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.merge-summary {
|
|
|
|
margin-top: var(--space-normal);
|
|
|
|
}
|
|
|
|
|
|
|
|
.summary-items {
|
|
|
|
margin-left: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: var(--space-smaller);
|
|
|
|
}
|
|
|
|
}
|
2021-10-13 13:05:13 +00:00
|
|
|
|
|
|
|
.bullet {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: var(--space-smaller);
|
|
|
|
}
|
2021-07-06 07:32:37 +00:00
|
|
|
</style>
|