A continuation of HomeBox the inventory and organization system built for the Home User
Fix the footer links (#635)
Matt Kilgored644d302a364
diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vueindex 5fcf4899..5045589b 100644--- a/frontend/layouts/default.vue+++ b/frontend/layouts/default.vue@@ -105,15 +105,9 @@<slot></slot><footer v-if="status" class="bottom-0 w-full bg-base-300 pb-4 text-center text-secondary-content"><p class="text-center text-sm">- <a- href="https://github.com/sysadminsmedia/homebox/releases/tag/{{ status.build.version }}"- target="_blank"- >- {{ $t("global.version", { version: status.build.version }) }} ~- {{ $t("global.build", { build: status.build.commit }) }}</a- >+ {{ $t("global.footer.version_link", { version: status.build.version, build: status.build.commit }) }}~- <a href="https://homebox.software/en/api.html" target="_blank">API</a>+ {{ $t("global.footer.api_link") }}</p></footer></div>diff --git a/frontend/locales/en.json b/frontend/locales/en.jsonindex f6d362a2..174b2348 100644--- a/frontend/locales/en.json+++ b/frontend/locales/en.json@@ -144,7 +144,11 @@"update": "Update","value": "Value","version": "Version: { version }",- "welcome": "Welcome, { username }"+ "welcome": "Welcome, { username }",+ "footer": {+ "version_link": "`<`a href=\"https://github.com/sysadminsmedia/homebox/releases/tag/{ version }\" target=\"_blank\"`>` Version: { version } Build: { build } `<`/a`>`",+ "api_link": "`<`a href=\"https://homebox.software/en/api/\" target=\"_blank\"`>`API`<`/a`>`"+ }},"home": {"labels": "Labels",