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;
|
title: string;
|
||||||
short_description: string;
|
short_description: string;
|
||||||
description: string;
|
description: string;
|
||||||
description_html: string;
|
description_source: string;
|
||||||
version: string;
|
version: string;
|
||||||
registrations: boolean;
|
registrations: boolean;
|
||||||
login_message: string;
|
login_message: string;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<sidebar-layout v-if="currentUser">
|
<sidebar-layout v-if="currentUser">
|
||||||
<template #content v-if="instance">
|
<template #content v-if="instance">
|
||||||
<h1>{{ instance.title }}</h1>
|
<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">
|
<details class="technical-info static-text">
|
||||||
<summary>Technical Info</summary>
|
<summary>Technical Info</summary>
|
||||||
mitra version: {{ getMitraVersion(instance.version) }}
|
mitra version: {{ getMitraVersion(instance.version) }}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<static-page v-else-if="currentUser === null && instance" class="wide">
|
<static-page v-else-if="currentUser === null && instance" class="wide">
|
||||||
<template #heading>{{ instance.title }}</template>
|
<template #heading>{{ instance.title }}</template>
|
||||||
<template #text>
|
<template #text>
|
||||||
<div v-html="instance.description_html"></div>
|
<div v-html="instance.description"></div>
|
||||||
</template>
|
</template>
|
||||||
</static-page>
|
</static-page>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue