@@ -2,11 +2,11 @@
|
||||
<div>
|
||||
<mk-widget-container :show-header="false">
|
||||
<article class="dolfvtibguprpxxhfndqaosjitixjohx">
|
||||
<h1><fa icon="heart"/>%i18n:@title%</h1>
|
||||
<h1><fa icon="heart"/>{{ $t('title') }}</h1>
|
||||
<p v-if="meta">
|
||||
{{ '%i18n:@text%'.substr(0, '%i18n:@text%'.indexOf('{')) }}
|
||||
{{ this.$t('text').substr(0, this.$t('text').indexOf('{')) }}
|
||||
<a :href="'mailto:' + meta.maintainer.email">{{ meta.maintainer.name }}</a>
|
||||
{{ '%i18n:@text%'.substr('%i18n:@text%'.indexOf('}') + 1) }}
|
||||
{{ this.$t('text').substr(this.$t('text').indexOf('}') + 1) }}
|
||||
</p>
|
||||
</article>
|
||||
</mk-widget-container>
|
||||
@@ -15,9 +15,12 @@
|
||||
|
||||
<script lang="ts">
|
||||
import define from '../../../common/define-widget';
|
||||
import i18n from '../../../i18n';
|
||||
|
||||
export default define({
|
||||
name: 'donation'
|
||||
}).extend({
|
||||
i18n: i18n('common/views/widgets/donation.vue'),
|
||||
data() {
|
||||
return {
|
||||
meta: null
|
||||
|
||||
Reference in New Issue
Block a user