mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-10-26 07:46:19 +01:00
add Gitea subtitle fallback and dummy data (#839)
I omitted most of the 0.5MiB Gitea/Foregejo API reponse for brevity.
This commit is contained in:
11
dummy-data/gitea/swagger.v1.json
Normal file
11
dummy-data/gitea/swagger.v1.json
Normal file
@@ -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>
|
<template #content>
|
||||||
<p class="title is-4">{{ item.name }}</p>
|
<p class="title is-4">{{ item.name }}</p>
|
||||||
<p class="subtitle is-6">
|
<p class="subtitle is-6">
|
||||||
<template v-if="versionstring">
|
<template v-if="item.subtitle">
|
||||||
|
{{ item.subtitle }}
|
||||||
|
</template>
|
||||||
|
<template v-else-if="versionstring">
|
||||||
Version {{ versionstring }}
|
Version {{ versionstring }}
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user