Add Version in sist2-admin

Added the version badge-pill to the sist2-admin page so you can check the version without going to the main search frontend.
This commit is contained in:
Andrew 2023-12-20 09:45:15 -06:00 committed by GitHub
parent 410283f14a
commit 4ec6a14252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,11 @@
<b-navbar-brand to="/">
<Sist2Icon></Sist2Icon>
</b-navbar-brand>
<span class="badge badge-pill version" v-if="$store && $store.state.sist2Info">
v{{ sist2Version() }}
</span>
<b-button class="ml-auto" to="/task" variant="link">{{ $t("tasks") }}</b-button>
</b-navbar>
</template>
@ -66,4 +70,4 @@ export default {
.btn-link {
color: #222;
}
</style>
</style>