Fix note link
This commit is contained in:
parent
852f0673e4
commit
630a0bf1e6
1 changed files with 6 additions and 2 deletions
|
@ -94,8 +94,12 @@
|
|||
<h2>Changes</h2>
|
||||
{% for change in changes %}
|
||||
<div class="change">
|
||||
<a href="https://www.openstreetmap.org/user/{{ change.user }}">{{ change.user }}</a><sup><a href="{{ purl(params, user=change.user) }}">⚓</a></sup> at {{ change.timestamp.strftime('%d.%m.%Y %H:%M') }}
|
||||
in <a href="https://www.openstreetmap.org/changeset/{{ change.changeset }}">{{ change.changeset }}</a><sup><a href="{{ purl(params, changeset=change.changeset) }}">⚓</a></sup>: {{ change.explain_action() }}
|
||||
<a href="https://www.openstreetmap.org/user/{{ change.user }}">{{ change.user }}</a><sup><a href="{{ purl(params, user=change.user) }}">⚓</a></sup> at {{ change.timestamp.strftime('%d.%m.%Y %H:%M') }} in
|
||||
{% if change.action == 'n' %}
|
||||
<a href="https://www.openstreetmap.org/note/{{ change.changeset }}">{{ change.changeset }}</a>: {{ change.explain_action() }}
|
||||
{% else %}
|
||||
<a href="https://www.openstreetmap.org/changeset/{{ change.changeset }}">{{ change.changeset }}</a><sup><a href="{{ purl(params, changeset=change.changeset) }}">⚓</a></sup>: {{ change.explain_action() }}
|
||||
{% endif %}
|
||||
{% if change.obj_type %}
|
||||
<a href="https://www.openstreetmap.org/{{ {'n':'node', 'w':'way', 'r':'relation'}[change.obj_type] }}/{{ change.obj_id }}">{{ change.main_tag or '' }}</a>
|
||||
<sup>
|
||||
|
|
Loading…
Add table
Reference in a new issue