diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-27 04:56:57 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-27 04:56:57 +0900 |
| commit | d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56 (patch) | |
| tree | de38629c420a5c21c371dd008598925b9a35b429 /src/client/app/common | |
| parent | Merge branch 'develop' (diff) | |
| parent | 8.15.0 (diff) | |
| download | sharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.tar.gz sharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.tar.bz2 sharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/app/common')
| -rw-r--r-- | src/client/app/common/views/widgets/donation.vue | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/client/app/common/views/widgets/donation.vue b/src/client/app/common/views/widgets/donation.vue index 470576d5e6..b1352e803e 100644 --- a/src/client/app/common/views/widgets/donation.vue +++ b/src/client/app/common/views/widgets/donation.vue @@ -4,7 +4,7 @@ <h1>%fa:heart%%i18n:@title%</h1> <p> {{ '%i18n:@text%'.substr(0, '%i18n:@text%'.indexOf('{')) }} - <a href="https://syuilo.com">@syuilo</a> + <a :href="meta.maintainer.url">{{ meta.maintainer.name }}</a> {{ '%i18n:@text%'.substr('%i18n:@text%'.indexOf('}') + 1) }} </p> </article> @@ -15,6 +15,17 @@ import define from '../../../common/define-widget'; export default define({ name: 'donation' +}).extend({ + data() { + return { + meta: null + }; + }, + created() { + (this as any).os.getMeta().then(meta => { + this.meta = meta; + }); + } }); </script> |