Loading grunt/config/handlebars.js +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ module.exports = function(grunt) { , 'dist/RelationDataParameterForm.js': 'src/RelationData/ParameterForm.hbs' , 'dist/SiteInfo.js': 'src/Site/Info.hbs' , 'dist/SitePopup.js': 'src/Site/Popup.hbs' , 'dist/MeasurementChildList.js': 'src/Measurement/ChildList.hbs' , 'dist/MeasurementParentList.js': 'src/Measurement/ParentList.hbs' Loading src/Site/Popup.hbs 0 → 100644 +25 −0 Original line number Diff line number Diff line {{#if feature.properties.name}} <div> <span class="propLabel">{{i18n.name}}: </span> <span class="propValue">{{feature.properties.name}}</span> </div> {{/if}} {{#if feature.properties.code}} <div> <span class="propLabel">{{i18n.code}}: </span> <span class="propValue">{{feature.properties.code}}</span> </div> {{/if}} {{#if feature.geometry.coordinates}} <div> <span class="propLabel">{{i18n.latitude}}: </span> <span class="propValue">{{feature.geometry.coordinates.[1]}}</span> </div> <div> <span class="propLabel">{{i18n.longitude}}: </span> <span class="propValue">{{feature.geometry.coordinates.[0]}}</span> </div> {{/if}} Loading
grunt/config/handlebars.js +1 −0 Original line number Diff line number Diff line Loading @@ -210,6 +210,7 @@ module.exports = function(grunt) { , 'dist/RelationDataParameterForm.js': 'src/RelationData/ParameterForm.hbs' , 'dist/SiteInfo.js': 'src/Site/Info.hbs' , 'dist/SitePopup.js': 'src/Site/Popup.hbs' , 'dist/MeasurementChildList.js': 'src/Measurement/ChildList.hbs' , 'dist/MeasurementParentList.js': 'src/Measurement/ParentList.hbs' Loading
src/Site/Popup.hbs 0 → 100644 +25 −0 Original line number Diff line number Diff line {{#if feature.properties.name}} <div> <span class="propLabel">{{i18n.name}}: </span> <span class="propValue">{{feature.properties.name}}</span> </div> {{/if}} {{#if feature.properties.code}} <div> <span class="propLabel">{{i18n.code}}: </span> <span class="propValue">{{feature.properties.code}}</span> </div> {{/if}} {{#if feature.geometry.coordinates}} <div> <span class="propLabel">{{i18n.latitude}}: </span> <span class="propValue">{{feature.geometry.coordinates.[1]}}</span> </div> <div> <span class="propLabel">{{i18n.longitude}}: </span> <span class="propValue">{{feature.geometry.coordinates.[0]}}</span> </div> {{/if}}