brotherton-erpnext/erpnext/public/js/education/lms/components/ContentTitle.vue

34 lines
820 B
Vue
Raw Normal View History

2018-11-02 05:59:02 +00:00
<template>
<section class='article-top-section video-section-bg'>
<div class='container'>
<div class="row">
<div class="col-md-8">
<h2>{{ title }}</h2>
2018-11-02 07:21:11 +00:00
<span v-if="typeof author !== 'undefined' || author !== null" class="text-muted">
2018-11-02 05:59:02 +00:00
Published on {{ publishDate }}, by {{ author }}
</span>
</div>
<div class="col-md-4 text-right">
<slot></slot>
</div>
</div>
<hr>
</div>
</section>
</template>
<script>
export default {
props: ['title', 'publishDate', 'author'],
2018-11-14 07:35:22 +00:00
name: 'ContentTitle',
2018-11-02 05:59:02 +00:00
data() {
return {
};
},
};
</script>
<style lang="css" scoped>
</style>