Skip to content

Commit 0e99ac2

Browse files
author
amvanbaren
committed
title is appended to template title
1 parent 1889d72 commit 0e99ac2

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

website/src/page-settings.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,14 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
176176
};
177177

178178
//---------- CLAIM NAMESPACE LINK
179-
const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps<Theme> }> = ({ sx, extension }) => <Link
180-
href={`https://github.com/EclipseFdn/open-vsx.org/issues/new?labels=namespace&template=claim-namespace-ownership.md&title=${encodeURIComponent(`Claiming namespace \`${extension.namespace}\``)}`}
181-
target='_blank' variant='body2' color='secondary' underline='hover' sx={sx} >
182-
Claim Ownership
183-
</Link>;
179+
const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps<Theme> }> = ({ sx, extension }) => {
180+
const body = 'Briefly explain what makes you a legitimate owner of the namespace mentioned in the issue title.\nPlease ensure that you have logged in to https://open-vsx.org at least once, otherwise we cannot process your request.'
181+
return <Link
182+
href={`https://github.com/EclipseFdn/open-vsx.org/issues/new?labels=namespace&title=${encodeURIComponent(`Claiming namespace \`${extension.namespace}\``)}&body=${encodeURIComponent(body)}`}
183+
target='_blank' variant='body2' color='secondary' underline='hover' sx={sx} >
184+
Claim Ownership
185+
</Link>
186+
};
184187

185188

186189
return {

0 commit comments

Comments
 (0)