Rename Spot to Livetrail internally
Deploy Livetrail / deploy (push) Successful in 21s

This commit is contained in:
2026-08-18 15:55:55 +02:00
parent ced5e87542
commit 2aac7ad5c4
55 changed files with 211 additions and 211 deletions
+36
View File
@@ -0,0 +1,36 @@
<script>
import appIcon from '@components/AppIcon';
export default {
components: {
appIcon
},
props: {
localTime: String,
siteTime: String,
offset: String,
classes: String,
icon: String,
titleWrapperName: String
},
inject: ['lang'],
computed: {
title() {
const bDifferentTimeZone = (this.localTime != this.siteTime);
const sTime =
this.lang.get('time.user', this.siteTime.slice(-5))
+ ((this.offset != '0')?' ('+this.lang.get('unit.day_short')+this.offset+')':'');
return (this.titleWrapperName)?
this.lang.get(this.titleWrapperName, bDifferentTimeZone?sTime:this.siteTime)
:
(bDifferentTimeZone?sTime:null);
}
}
}
</script>
<template>
<appIcon v-if="icon" :icon="icon" :title="title" :text="localTime" width="fixed" size="lg" />
<span v-else :class="classes" :title="title">{{ localTime }}</span>
</template>