set some norefer labels

probably not really needed for this case but satisfies the code scanning and does not hurt to have
This commit is contained in:
vabene1111
2020-06-16 10:13:54 +02:00
parent c7d518071c
commit 8781a6572d

View File

@@ -49,7 +49,7 @@
<a class="btn btn-light" onclick="window.print()" data-toggle="tooltip"
data-placement="top" title="{% trans 'Print' %}"><i
class="fas fa-print"></i></a>
<a class="btn btn-primary" href="{% url 'view_export' %}?r={{ recipe.pk }}" target="_blank"
<a class="btn btn-primary" href="{% url 'view_export' %}?r={{ recipe.pk }}" target="_blank" rel="noopener noreferrer"
data-toggle="tooltip"
data-placement="top" title="{% trans 'Export recipe' %}"><i
class="fas fa-file-export"></i></a>
@@ -147,7 +147,7 @@
<td style="vertical-align: middle!important;">
{% if i.ingredient.recipe %}
<a href="{% url 'view_recipe' i.ingredient.recipe.pk %}"
target="_blank">
target="_blank" rel="noopener noreferrer">
{% endif %}
{{ i.ingredient.name }}
{% if i.ingredient.recipe %}