2023-12-11 16:18:22 +08:00
|
|
|
<template>
|
|
|
|
<div ref="modal" class="modal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<i class="sn-icon sn-icon-close"></i>
|
|
|
|
</button>
|
|
|
|
<h4 class="modal-title truncate !block" id="edit-project-modal-label" :title="experiment.name">
|
|
|
|
{{ experiment.name }}
|
|
|
|
</h4>
|
|
|
|
</div>
|
2024-04-11 00:51:23 +08:00
|
|
|
<div class="modal-body whitespace-pre-wrap" v-html="experiment.sa_description"></div>
|
2023-12-11 16:18:22 +08:00
|
|
|
<div class="modal-footer">
|
2024-03-04 18:07:15 +08:00
|
|
|
<button type="button" class="btn btn-primary" data-dismiss="modal">{{ i18n.t('general.close') }}</button>
|
2023-12-11 16:18:22 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import modalMixin from '../../shared/modal_mixin';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'DescriptionModal',
|
|
|
|
props: {
|
|
|
|
experiment: Object,
|
|
|
|
},
|
|
|
|
mixins: [modalMixin],
|
|
|
|
};
|
|
|
|
</script>
|