Skip to content

Commit

Permalink
Merge pull request #1925 from umap-project/map-details-icon
Browse files Browse the repository at this point in the history
fix: add icon to "edit map details" panel title
  • Loading branch information
yohanboniface authored Jun 21, 2024
2 parents 6f38dcf + 3037128 commit f09024e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 1 addition & 3 deletions umap/static/umap/img/16-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions umap/static/umap/img/source/16-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions umap/static/umap/js/umap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1535,8 +1535,7 @@ U.Map = L.Map.extend({
const container = L.DomUtil.create('div', 'umap-edit-container')
const metadataFields = ['options.name', 'options.description']

const title = L.DomUtil.create('h3', '', container)
title.textContent = L._('Edit map details')
L.DomUtil.createTitle(container, L._('Edit map details'), 'icon-caption')
const builder = new U.FormBuilder(this, metadataFields, {
className: 'map-metadata',
})
Expand Down

0 comments on commit f09024e

Please sign in to comment.