Update to use new instance API
This commit is contained in:
parent
ddf23be4bd
commit
c7eeb92ba1
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ export interface InstanceInfo {
|
|||
title: string;
|
||||
short_description: string;
|
||||
description: string;
|
||||
description_html: string;
|
||||
description_source: string;
|
||||
version: string;
|
||||
registrations: boolean;
|
||||
login_message: string;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<sidebar-layout v-if="currentUser">
|
||||
<template #content v-if="instance">
|
||||
<h1>{{ instance.title }}</h1>
|
||||
<div class="description static-text" v-html="instance.description_html"></div>
|
||||
<div class="description static-text" v-html="instance.description"></div>
|
||||
<details class="technical-info static-text">
|
||||
<summary>Technical Info</summary>
|
||||
mitra version: {{ getMitraVersion(instance.version) }}
|
||||
|
@ -14,7 +14,7 @@
|
|||
<static-page v-else-if="currentUser === null && instance" class="wide">
|
||||
<template #heading>{{ instance.title }}</template>
|
||||
<template #text>
|
||||
<div v-html="instance.description_html"></div>
|
||||
<div v-html="instance.description"></div>
|
||||
</template>
|
||||
</static-page>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue