mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] add missing license info and userdoc upstream link
This commit is contained in:
parent
09df53adab
commit
4e2a92bb1d
2 changed files with 10 additions and 5 deletions
|
@ -62,6 +62,7 @@
|
|||
"danger": "The installation of the application will most likely lead to issues",
|
||||
"critical": "The application cannot be installed"
|
||||
},
|
||||
"license": "License: {license}",
|
||||
"problems": {
|
||||
"arch": "It is incompatible with your system architecture",
|
||||
"broken": "This application is broken according to YunoHost's automatic tests and it is likely to break your system! You should probably NOT install it unless you know what you are doing.",
|
||||
|
@ -96,11 +97,12 @@
|
|||
"title": "YunoHost integration"
|
||||
},
|
||||
"links": {
|
||||
"admindoc": "Official documentation",
|
||||
"code": "Upstream code repository",
|
||||
"admindoc": "Official Admin documentation",
|
||||
"code": "Official code repository",
|
||||
"forum": "Topics about this app on YunoHost's forum",
|
||||
"package": "YunoHost package repository",
|
||||
"title": "Links",
|
||||
"userdoc": "Official User documentation",
|
||||
"website": "Website"
|
||||
},
|
||||
"potential_alternative_to": "Potential alternative to:"
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
aria-hidden="true" class="d-block mb-3" fluid
|
||||
/>
|
||||
|
||||
<p>{{ $t('app.install.version', { version: app.version }) }}</p>
|
||||
<p>
|
||||
{{ $t('app.install.version', { version: app.version }) }}<br>
|
||||
{{ $t('app.install.license', { license: app.license }) }}
|
||||
</p>
|
||||
|
||||
<b-button
|
||||
v-if="app.demo"
|
||||
|
@ -211,7 +214,6 @@ export default {
|
|||
// ram support is non-blocking requirement and handled on its own.
|
||||
return key === 'ram' || requirements[key].pass
|
||||
})
|
||||
|
||||
const app = {
|
||||
id,
|
||||
name,
|
||||
|
@ -222,6 +224,7 @@ export default {
|
|||
image: _app.image,
|
||||
demo: _app.upstream.demo,
|
||||
version,
|
||||
license: _app.upstream.license,
|
||||
integration: {
|
||||
archs: Array.isArray(_archs) ? _archs.join(this.$i18n.t('words.separator')) : _archs,
|
||||
ldap: _app.integration.ldap === 'not_relevant' ? null : _app.integration.ldap,
|
||||
|
@ -230,7 +233,7 @@ export default {
|
|||
resources: { ram: _app.integration.ram.runtime, disk: _app.integration.disk }
|
||||
},
|
||||
links: [
|
||||
...['website', 'admindoc', 'code'].map((key) => ([key, _app.upstream[key]])),
|
||||
...['website', 'admindoc', 'userdoc', 'code'].map((key) => ([key, _app.upstream[key]])),
|
||||
['package', _app.remote.url],
|
||||
['forum', `https://forum.yunohost.org/tag/${id}`]
|
||||
].filter(([key, val]) => !!val),
|
||||
|
|
Loading…
Add table
Reference in a new issue