fix: correct changelog link

This commit is contained in:
Brice Maron 2023-08-22 23:11:56 +02:00
parent 3b736c2b02
commit cd29486b84
4 changed files with 7 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# uMap project
[![Requirements Status](https://requires.io/github/umap-project/umap/requirements.svg?branch=master)](https://requires.io/github/umap-project/umap/requirements/?branch=master)
[![Join the chat at https://gitter.im/umap-project/umap](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/umap-project/umap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Documentation Status](https://readthedocs.org/projects/umap-project/badge/?version=latest)](http://umap-project.readthedocs.io/en/latest/?badge=latest)[![Build Status](https://travis-ci.org/umap-project/umap.svg?branch=master)](https://travis-ci.org/umap-project/umap)
[![Join the chat at https://gitter.im/umap-project/umap](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/umap-project/umap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Documentation Status](https://readthedocs.org/projects/umap-project/badge/?version=latest)](http://umap-project.readthedocs.io/en/master/?badge=latest)[![Build Status](https://travis-ci.org/umap-project/umap.svg?branch=master)](https://travis-ci.org/umap-project/umap)
## About
@ -13,4 +13,4 @@ Built on top of Django and Leaflet.
## Installation and configuration
See [developer documentation](https://umap-project.readthedocs.io/en/latest/install/).
See [developer documentation](https://umap-project.readthedocs.io/en/master/install/).

View file

@ -2,9 +2,9 @@
# Import global settings to make it easier to extend settings.
from email.utils import parseaddr
from django.template.defaultfilters import slugify
from django.conf.locale import LANG_INFO
import environ
from django.conf.locale import LANG_INFO
from django.template.defaultfilters import slugify
env = environ.Env()
@ -137,6 +137,7 @@ FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer"
# =============================================================================
import os
import umap as project_module
PROJECT_DIR = os.path.dirname(os.path.realpath(project_module.__file__))

View file

@ -911,7 +911,7 @@ 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/',
changelog: 'https://umap-project.readthedocs.io/en/master/changelog/',
version: this.options.umap_version,
}
umapCredit.innerHTML = L._(

View file

@ -2,7 +2,7 @@
<footer>
<a href="https://wiki.openstreetmap.org/wiki/UMap" class="branding">uMap</a>
an OpenStreetMap project
(version <a href="https://umap-project.readthedocs.io/en/latest/changelog/">{{ UMAP_VERSION }}</a>)
(version <a href="https://umap-project.readthedocs.io/en/master/changelog/">{{ UMAP_VERSION }}</a>)
{% get_language_info_list for LANGUAGES as languages %}
<form action="{% url "set_language" %}" method="post" class="i18n_switch">
{% csrf_token %}