diff --git a/src/js/oseam-views-gauge.js b/src/js/oseam-views-gauge.js index 38d6570..620d461 100644 --- a/src/js/oseam-views-gauge.js +++ b/src/js/oseam-views-gauge.js @@ -29,9 +29,10 @@ OSeaM.views.Gauge = OSeaM.View.extend({ var content = $(template({ id : this.model.get('id'), name : this.model.get('name'), - type : this.model.get('gaugeType'), - lat : this.model.get('latitude'), - lon : this.model.get('longitude') + gaugeType : this.model.get('gaugeType'), + latitude : this.model.get('latitude'), + longitude : this.model.get('longitude'), + waterlevel : this.model.get('waterlevel') })); OSeaM.frontend.translate(content); this.$el.html(content); diff --git a/src/js/templates/gauge.handlebars b/src/js/templates/gauge.handlebars index ac8bfb3..ae744f7 100644 --- a/src/js/templates/gauge.handlebars +++ b/src/js/templates/gauge.handlebars @@ -1,14 +1,14 @@
-

+

-

+

- +