chore: add link to GitHub on configure page, improve content type info
This commit is contained in:
parent
f0a8ab540a
commit
1be75645d3
2 changed files with 9 additions and 3 deletions
|
|
@ -267,9 +267,15 @@ export function landingTemplate(manifest: ManifestWithConfig) {
|
|||
<h2 class="description">${manifest.description || ''}</h2>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
|
||||
<p>
|
||||
The source code can be found on <a href="https://github.com/webstreamr/webstreamr" target="_blank">GitHub</a>
|
||||
</p>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
${process.env['CONFIGURATION_DESCRIPTION'] || ''}
|
||||
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<h3 class="gives">This addon has more :</h3>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export const buildManifest = (handlers: Handler[], config: Config): ManifestWith
|
|||
manifest.config.push({
|
||||
key: handler.id,
|
||||
type: 'checkbox',
|
||||
title: `${handler.languages.map(language => flag(language)).join(' ')} | ${handler.label} (${handler.contentTypes.join(', ')})`,
|
||||
title: `${handler.languages.map(language => flag(language)).join(' ')} | ${handler.label} (${handler.contentTypes.map(contentType => contentType.replace('movie', 'movies')).join(', ')})`,
|
||||
...(handler.id in config && { default: 'checked' }),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue