summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-27 04:56:57 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-27 04:56:57 +0900
commitd423f8ae5755eb07c4033b5ea93d0ec2e26eeb56 (patch)
treede38629c420a5c21c371dd008598925b9a35b429 /src/client
parentMerge branch 'develop' (diff)
parent8.15.0 (diff)
downloadsharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.tar.gz
sharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.tar.bz2
sharkey-d423f8ae5755eb07c4033b5ea93d0ec2e26eeb56.zip
Merge branch 'develop'
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/widgets/donation.vue13
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>