fix: [UI terms] update tags endpoint

pull/342/head
Terrtia 2019-03-21 11:34:21 +01:00
parent c2bc72c72e
commit 51eb951a47
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@
<span class="term_name">{{ set }}</span> <span class="term_name">{{ set }}</span>
<div> <div>
{% for tag in notificationTagsTermMapping[set] %} {% for tag in notificationTagsTermMapping[set] %}
<a href="{{ url_for('Tags.get_tagged_paste') }}?ltags={{ tag }}"> <a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag }}">
<span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span> <span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span>
</a> </a>
{% endfor %} {% endfor %}
@ -208,7 +208,7 @@
<span class="term_name">{{ regex }}</span> <span class="term_name">{{ regex }}</span>
<div> <div>
{% for tag in notificationTagsTermMapping[regex] %} {% for tag in notificationTagsTermMapping[regex] %}
<a href="{{ url_for('Tags.get_tagged_paste') }}?ltags={{ tag }}"> <a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag }}">
<span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span> <span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span>
</a> </a>
{% endfor %} {% endfor %}
@ -285,7 +285,7 @@
<span class="term_name">{{ term }}</span> <span class="term_name">{{ term }}</span>
<div> <div>
{% for tag in notificationTagsTermMapping[term] %} {% for tag in notificationTagsTermMapping[term] %}
<a href="{{ url_for('Tags.get_tagged_paste') }}?ltags={{ tag }}"> <a href="{{ url_for('Tags.Tags_page') }}?ltags={{ tag }}">
<span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span> <span class="label label-{{ bootstrap_label[loop.index0 % 5] }} pull-left">{{ tag }}</span>
</a> </a>
{% endfor %} {% endfor %}