mirror of https://github.com/bastienwirtz/homer
add Gitea subtitle fallback and dummy data (#839)
I omitted most of the 0.5MiB Gitea/Foregejo API reponse for brevity.pull/841/head
parent
f150c6c037
commit
103168544d
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"info": {
|
||||
"description": "This documentation describes the Forgejo API.",
|
||||
"title": "Forgejo API",
|
||||
"license": {
|
||||
"name": "MIT",
|
||||
"url": "http://opensource.org/licenses/MIT"
|
||||
},
|
||||
"version": "8.0.3+gitea-1.22.0"
|
||||
}
|
||||
}
|
|
@ -3,7 +3,10 @@
|
|||
<template #content>
|
||||
<p class="title is-4">{{ item.name }}</p>
|
||||
<p class="subtitle is-6">
|
||||
<template v-if="versionstring">
|
||||
<template v-if="item.subtitle">
|
||||
{{ item.subtitle }}
|
||||
</template>
|
||||
<template v-else-if="versionstring">
|
||||
Version {{ versionstring }}
|
||||
</template>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue