Closes #2367
This commit is contained in:
syuilo 2018-08-22 09:31:35 +09:00
parent f16a684023
commit fb3f25f6b0
2 changed files with 13 additions and 10 deletions

View File

@ -6,7 +6,7 @@
<i></i>
<a :href="feedbackUrl" target="_blank">%i18n:@feedback%</a>
<i></i>
<a :href="devUrl">%i18n:@develop%</a>
<a href="/dev">%i18n:@develop%</a>
<i></i>
<a href="https://twitter.com/misskey_xyz" target="_blank">Follow us on %fa:B twitter%</a>
</span>
@ -14,18 +14,21 @@
<script lang="ts">
import Vue from 'vue';
import { docsUrl, statsUrl, statusUrl, devUrl, repositoryUrl, feedbackUrl, lang } from '../../../config';
import { lang } from '../../../config';
export default Vue.extend({
data() {
return {
aboutUrl: `${docsUrl}/${lang}/about`,
statsUrl,
statusUrl,
devUrl,
repositoryUrl: repositoryUrl || `https://github.com/syuilo/misskey`,
feedbackUrl: feedbackUrl || `https://github.com/syuilo/misskey/issues/new`
aboutUrl: `/docs/${lang}/about`,
repositoryUrl: 'https://github.com/syuilo/misskey',
feedbackUrl: 'https://github.com/syuilo/misskey/issues/new'
}
},
created() {
(this as any).os.getMeta().then(meta => {
if (meta.repositoryUrl) this.repositoryUrl = meta.repositoryUrl;
if (meta.feedbackUrl) this.feedbackUrl = meta.feedbackUrl;
});
}
});
</script>

View File

@ -41,7 +41,7 @@
<script lang="ts">
import Vue from 'vue';
import { docsUrl, lang } from '../../../config';
import { lang } from '../../../config';
export default Vue.extend({
props: ['isOpen'],
@ -50,7 +50,7 @@ export default Vue.extend({
hasGameInvitation: false,
connection: null,
connectionId: null,
aboutUrl: `${docsUrl}/${lang}/about`
aboutUrl: `/docs/${lang}/about`
};
},
computed: {