From 86002daa29e88f707865d85243796e84811b131f Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:56:42 +0200 Subject: [PATCH 1/2] Add link to the package repo --- app/src/views/app/AppInfo.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/views/app/AppInfo.vue b/app/src/views/app/AppInfo.vue index 6b8a85c6..c625ad2e 100644 --- a/app/src/views/app/AppInfo.vue +++ b/app/src/views/app/AppInfo.vue @@ -408,6 +408,7 @@ export default { links: [ ['license', `https://spdx.org/licenses/${app.manifest.upstream.license}`], ...['website', 'admindoc', 'userdoc', 'code'].map((key) => ([key, app.manifest.upstream[key]])), + ['package', app.from_catalog.git.url ], ['forum', `https://forum.yunohost.org/tag/${this.id}`] ].filter(([key, val]) => !!val), doc: { From 215ee0a48c0189580cccccb396a09cc09558f2ef Mon Sep 17 00:00:00 2001 From: Axolotle Date: Fri, 29 Sep 2023 14:32:48 +0200 Subject: [PATCH 2/2] AppInfo: fix linter error + use app manifest id for forum link --- app/src/views/app/AppInfo.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/views/app/AppInfo.vue b/app/src/views/app/AppInfo.vue index c625ad2e..e4452c5f 100644 --- a/app/src/views/app/AppInfo.vue +++ b/app/src/views/app/AppInfo.vue @@ -408,8 +408,8 @@ export default { links: [ ['license', `https://spdx.org/licenses/${app.manifest.upstream.license}`], ...['website', 'admindoc', 'userdoc', 'code'].map((key) => ([key, app.manifest.upstream[key]])), - ['package', app.from_catalog.git.url ], - ['forum', `https://forum.yunohost.org/tag/${this.id}`] + ['package', app.from_catalog.git.url], + ['forum', `https://forum.yunohost.org/tag/${app.manifest.id}`] ].filter(([key, val]) => !!val), doc: { notifications: {