Added the ability to choose on which status pages maintenance information should be displayed

This commit is contained in:
Karel Krýda 2022-04-30 17:17:22 +02:00
parent b4ffcc5555
commit 31b90d12a4
8 changed files with 216 additions and 29 deletions

View file

@ -247,7 +247,7 @@
</div>
<div v-else-if="isMaintenance">
<font-awesome-icon icon="wrench" class="statusMaintenance" />
<font-awesome-icon icon="wrench" class="status-maintenance" />
{{ $t("Maintenance") }}
</div>
@ -595,7 +595,7 @@ export default {
}
this.incident = res.data.incident;
this.maintenance = res.data.maintenance;
this.maintenance = res.data.maintenance || [];
this.$root.publicGroupList = res.data.publicGroupList;
});
@ -956,7 +956,7 @@ footer {
background-color: #0d1117;
}
.statusMaintenance {
.status-maintenance {
color: $maintenance;
margin-right: 5px;
}