picture display ready

This commit is contained in:
Senad Uka
2016-10-08 16:02:59 +02:00
parent d469c91e3e
commit 4b2b9526de
10 changed files with 97 additions and 22 deletions

View File

@@ -9,10 +9,13 @@ Template.state_details.helpers({
return moment(this.time).fromNow();
},
last_out_valve_open: function() {
return moment(this.significantEvents.lastOutValveOpen).fromNow();
return "";
},
last_in_valve_open: function() {
return moment(this.significantEvents.lastInValveOpen).fromNow();
return "";
},
picture_requested: function(state) {
return (state.picture_requested === 'true') ? 'DA' : 'NE';
}
});