63 lines
1.1 KiB
Vue
63 lines
1.1 KiB
Vue
|
<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>
|
||
|
<span>❌</span>
|
||
|
<span
|
||
|
v-html="
|
||
|
$t('MERGE_CONTACTS.SUMMARY.DELETE_WARNING', {
|
||
|
childContactName,
|
||
|
})
|
||
|
"
|
||
|
/>
|
||
|
</li>
|
||
|
<li>
|
||
|
<span>✅</span>
|
||
|
<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);
|
||
|
}
|
||
|
}
|
||
|
</style>
|