This commit is contained in:
@@ -177,7 +177,7 @@ export default {
|
|||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
// Turn a duration value into a display
|
// Turn a duration value into a display
|
||||||
//
|
//
|
||||||
durationLocalized(value) {
|
durationLocalized(value, hideSeconds) {
|
||||||
let theDays = 0;
|
let theDays = 0;
|
||||||
let theHours = 0;
|
let theHours = 0;
|
||||||
let theMinutes = 0;
|
let theMinutes = 0;
|
||||||
@@ -219,7 +219,7 @@ export default {
|
|||||||
window.$gz.translation.get("TimeSpanMinutes") +
|
window.$gz.translation.get("TimeSpanMinutes") +
|
||||||
" ";
|
" ";
|
||||||
}
|
}
|
||||||
if (theSeconds != 0) {
|
if (!hideSeconds && theSeconds != 0) {
|
||||||
ret +=
|
ret +=
|
||||||
theSeconds +
|
theSeconds +
|
||||||
" " +
|
" " +
|
||||||
|
|||||||
@@ -282,6 +282,10 @@
|
|||||||
<!-- File / memory Size -->
|
<!-- File / memory Size -->
|
||||||
{{ c.v }}
|
{{ c.v }}
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="c.t == 15">
|
||||||
|
<!-- Duration / timespan -->
|
||||||
|
{{ c.v }}
|
||||||
|
</template>
|
||||||
<template v-else-if="c.t == 16">
|
<template v-else-if="c.t == 16">
|
||||||
<!-- PHONE NUMBER -->
|
<!-- PHONE NUMBER -->
|
||||||
<a :href="'tel:' + c.v">{{ c.v }}</a>
|
<a :href="'tel:' + c.v">{{ c.v }}</a>
|
||||||
@@ -495,6 +499,10 @@
|
|||||||
<!-- File / memory Size -->
|
<!-- File / memory Size -->
|
||||||
{{ c.v }}
|
{{ c.v }}
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="c.t == 15">
|
||||||
|
<!-- Duration / timespan -->
|
||||||
|
{{ c.v }}
|
||||||
|
</template>
|
||||||
<template v-else-if="c.t == 16">
|
<template v-else-if="c.t == 16">
|
||||||
<!-- PHONE NUMBER -->
|
<!-- PHONE NUMBER -->
|
||||||
<a :href="'tel:' + c.v">{{ c.v }}</a>
|
<a :href="'tel:' + c.v">{{ c.v }}</a>
|
||||||
@@ -1143,6 +1151,9 @@ function buildRecords(listData, columndefinitions, ridColumnOpenable) {
|
|||||||
2
|
2
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
case 15: //duration / timespan
|
||||||
|
display = window.$gz.locale.durationLocalized(display, true); //duration localized with no seconds
|
||||||
|
break;
|
||||||
case 17: //Authorization Roles
|
case 17: //Authorization Roles
|
||||||
if (availableRoles == null) {
|
if (availableRoles == null) {
|
||||||
availableRoles = window.$gz.enums.getSelectionList(
|
availableRoles = window.$gz.enums.getSelectionList(
|
||||||
|
|||||||
Reference in New Issue
Block a user