picture display ready
This commit is contained in:
@@ -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';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user