mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
35 lines
1,003 B
Vue
35 lines
1,003 B
Vue
<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>
|
|
<div class="modal-body">
|
|
{{ experiment.description }}
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ i18n.t('general.cancel') }}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
import modalMixin from '../../shared/modal_mixin';
|
|
|
|
export default {
|
|
name: 'DescriptionModal',
|
|
props: {
|
|
experiment: Object,
|
|
},
|
|
mixins: [modalMixin],
|
|
};
|
|
</script>
|