This commit is contained in:
2020-07-21 19:32:50 +00:00
parent 67ac7c8fe1
commit 973788e63b
2 changed files with 18 additions and 28 deletions

View File

@@ -16,8 +16,10 @@
>{{ i.uicreated }} - {{ i.uievent }}</v-card-subtitle
>
<v-card-text
><v-icon large class="mr-2">{{ i.icon }}</v-icon
>{{ i.uiayatype }}
><template v-if="i.ayaType != 0"
><v-icon large class="mr-2">{{ i.icon }}</v-icon
>{{ i.uiayatype }}</template
>
<div class="mt-4" v-if="i.message">{{ i.message }}</div>
</v-card-text>
@@ -26,7 +28,9 @@
<v-btn text @click="openSubscription(i)">{{
$ay.t("NotifySubscription")
}}</v-btn>
<v-btn text @click="openItem(i)">{{ $ay.t("Open") }}</v-btn>
<v-btn text @click="openItem(i)" v-if="i.objectId != 0">{{
$ay.t("Open")
}}</v-btn>
</v-card-actions>
</v-card>
</v-timeline-item>
@@ -145,6 +149,15 @@ export default {
let temp = res.data;
//Nice touch to show super faded just before deletion but don't have time for this fuckery at the moment
// let dtNow = window.$gz.DateTime.local();
// let dtToday = window.$gz.DateTime.local(
// dtNow.year,
// dtNow.month,
// dtNow.day
// );
// let dtPrecipice = dtToday.plus({ days: -85 }).toUTC();
let timeZoneName = window.$gz.locale.getBrowserTimeZoneName();
let languageName = window.$gz.locale.getBrowserLanguages();
let hour12 = window.$gz.store.state.locale.hour12;
@@ -173,7 +186,7 @@ export default {
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tristique aliquam luctus. Suspendisse molestie lacus ac varius cursus. Praesent facilisis sem quam, vitae tincidunt ligula porttitor maximus. Sed quis mi commodo, dictum nunc sed, elementum leo. In tincidunt porta risus, et tristique orci congue at.";
}
if (temp[i].name == "~SERVER~") {
temp[i].name = vm.$t("Server");
temp[i].name = vm.$ay.t("Server");
}
}