Commit 78481e40 authored by Lukáš Lalinský's avatar Lukáš Lalinský

More template fixes

parent 4d096d31
Pipeline #20531 passed with stages
in 3 minutes and 52 seconds
......@@ -5,7 +5,7 @@
<p>
See more information about this recording on
<a href="//musicbrainz.org/track/{{ mbid }}">MusicBrainz</a>.
<a href="//musicbrainz.org/recording/{{ mbid }}">MusicBrainz</a>.
</p>
{% if tracks %}
......@@ -14,7 +14,7 @@
<ul>
{% for tr in tracks %}
<li><a href="{{ url_for('.track', track_id=tr.id) }}">{{ tr.gid }}</a></li>
<li><a href="{{ url_for('.track', track_id_or_gid=tr.id) }}">{{ tr.gid }}</a></li>
{% endfor %}
</ul>
......
......@@ -7,7 +7,7 @@
Are you sure you want to {% if not state %}link{% else %}unlink{% endif %}
MBID "<a href="//musicbrainz.org/recording/{{ mbid }}">{{ mbid }}</a>"
{% if not state %}to{% else %}from{% endif %}
track "<a href="{{ url_for('.track', track_id=track_gid) }}">{{ track_gid }}</a>"?
track "<a href="{{ url_for('.track', track_id_or_gid=track_gid) }}">{{ track_gid }}</a>"?
</p>
<form method="POST" action="{{ url_for('.toggle_track_mbid') }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment