adapt the toolbar ribbon with changes made in pull/257: Cleanup leaflet templates