- // { osm_type: 'R', osm_id: 12345 }
- // <a href="details.html?place_id=12345">details</a>
- detailsLink: function (aFeature, sTitle) {
- if (!aFeature) return '';
- if (!aFeature.place_id) return '';
-
- var sTitleEscaped = Handlebars.escapeExpression(sTitle || 'details >');
-
- return new Handlebars.SafeString(
- '<a href="details.html?place_id=' + aFeature.place_id + '">' + sTitleEscaped + '</a>'
- );
- },
- detailsPermaLink: function (aFeature, sTitle) {