Bugzilla – Attachment 61429 Details for
Bug 18066
Hea - Version 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18066: Do not use token for OSM tiles
Bug-18066-Do-not-use-token-for-OSM-tiles.patch (text/plain), 1.67 KB, created by
Julian Maurice
on 2017-03-22 08:28:11 UTC
(
hide
)
Description:
Bug 18066: Do not use token for OSM tiles
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2017-03-22 08:28:11 UTC
Size:
1.67 KB
patch
obsolete
>From 4c8265a484e33652d585b82aa98e2cb005b608e1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 28 Feb 2017 11:16:56 +0000 >Subject: [PATCH] Bug 18066: Do not use token for OSM tiles > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt >index 2e807b2067..230d16bbc5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt >@@ -251,12 +251,11 @@ > > <script> > var map = L.map('mapid').setView([0,0], 1); >- L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBjZWd2M2x6bDk3c2ZtOTkifQ._QA7i5Mpkd_m30IGElHziw', { >+ >+ L.tileLayer('https://a.tile.openstreetmap.org/{z}/{x}/{y}.png', { > maxZoom: 18, > attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' + >- '<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' + >- 'Imagery © <a href="http://mapbox.com">Mapbox</a>', >- id: 'mapbox.streets' >+ '<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>' > }).addTo(map); > > var default_elt = { 'text': _("Main library"), 'id': 'UsageStatsGeolocation' }; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18066
:
59975
|
59976
|
60729
|
60730
|
60734
|
60742
|
60743
|
60744
|
60745
|
60746
|
61355
|
61356
|
61358
|
61361
|
61362
|
61392
|
61393
|
61394
|
61395
|
61396
|
61397
|
61398
|
61427
|
61428
| 61429 |
61430
|
61431
|
61432
|
61433
|
61582
|
62646