diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js
index 909f0a6d..cf6bdcdc 100644
--- a/umap/static/umap/js/umap.js
+++ b/umap/static/umap/js/umap.js
@@ -1143,9 +1143,16 @@ L.U.Map.include({
leaflet: 'http://leafletjs.com',
django: 'https://www.djangoproject.com',
umap: 'http://wiki.openstreetmap.org/wiki/UMap',
+ changelog: 'https://umap-project.readthedocs.io/en/latest/changelog/',
+ version: this.options.umap_version,
}
umapCredit.innerHTML = L._(
- 'Powered by Leaflet and Django, glued by uMap project.',
+ `
+ Powered by Leaflet and
+ Django,
+ glued by uMap project
+ (version {version}).
+ `,
urls
)
const browser = L.DomUtil.create('li', '')
@@ -2022,8 +2029,8 @@ L.U.Map.include({
name.textContent = this.getDisplayName()
}
if (this.options.user) {
- const userLabel = L.DomUtil.add('a', 'umap-user', title, this.options.user.name)
- userLabel.href = this.options.user.url
+ const userLabel = L.DomUtil.add('a', 'umap-user', title, this.options.user.name)
+ userLabel.href = this.options.user.url
}
L.bind(setName, this)()
L.DomEvent.on(name, 'click', this.edit, this)
diff --git a/umap/static/umap/nav.css b/umap/static/umap/nav.css
index 48efa3c8..0c2e09f0 100644
--- a/umap/static/umap/nav.css
+++ b/umap/static/umap/nav.css
@@ -8,7 +8,11 @@ footer {
background-color: #2E3641;
text-align: center;
line-height: 140px;
- color: #8F96A3;
+ color: #fff;
+}
+footer a {
+ color: #fff;
+ text-decoration: underline;
}
footer a.branding {
background-image: url("./img/logo_filigree.png");
@@ -19,7 +23,6 @@ footer a.branding {
font-weight: bold;
height: 140px;
padding-left: 70px;
- color: #8F96A3;
display: inline-block;
}
diff --git a/umap/templates/umap/content_footer.html b/umap/templates/umap/content_footer.html
index 43239bc6..9e8efa2d 100644
--- a/umap/templates/umap/content_footer.html
+++ b/umap/templates/umap/content_footer.html
@@ -1,7 +1,9 @@
{% load i18n %}