このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
076server/resources/assets/js/components/Entry/Changelog.vue

44 行
1.0 KiB
Vue

<template>
<div class="panel panel-default">
<div class="panel-heading">
<!--@lang('entry.changelog', ['version' => '2.0'])-->
Changes in {{ version }}
</div>
<div class="panel-body">
<div class="container">
<div class="row">
<div class="col-md-12">
{{ changelog }}
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'entry-changelog',
props: ['fid'],
data: function () {
return {
id: this.fid,
changelog: '',
version: ''
}
},
created: function () {
axios.get('/api/rpc/file/getfilechangelog/' + this.id).then(data => {
this.changelog = data.data[0].changelog;
this.version = data.data[0].version;
});
}
}
</script>
<style>
.col {
text-align: center;
}
</style>