feat: show release page link

This commit is contained in:
Vlad Stan 2023-01-18 12:36:55 +02:00
parent f379b784cc
commit d89128fb93
2 changed files with 14 additions and 3 deletions

View file

@ -167,13 +167,23 @@
color="primary unelevated mt-lg pt-lg" color="primary unelevated mt-lg pt-lg"
>Install</q-btn >Install</q-btn
> >
<a
v-if="release.html_url"
class="text-secondary float-right"
:href="release.html_url"
target="_blank"
style="color: inherit"
>Release Notes</a
>
</q-card-section> </q-card-section>
<q-separator></q-separator>
<div <div
v-if="release.details_html" v-if="release.details_html"
v-html="release.details_html" v-html="release.details_html"
></div> </q-card ></div>
></q-expansion-item> <q-separator></q-separator>
</q-card></q-expansion-item
>
</q-list> </q-list>
</q-card-section> </q-card-section>
</q-card> </q-card>

View file

@ -354,6 +354,7 @@ class InstallableExtension(BaseModel):
source_repo=url, source_repo=url,
description=e["shortDescription"], description=e["shortDescription"],
details_html=e.get("details"), details_html=e.get("details"),
html_url=e.get("htmlUrl"),
) )
] ]