Skip to content
Snippets Groups Projects
Commit d7a4c12d authored by Nico Vermaas's avatar Nico Vermaas
Browse files

annotation only possible when authenticated

parent 838976f5
Branches
No related tags found
2 merge requests!230Master,!228annotation only possible when authenticated
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 1.0.0 (8 apr 2021 - 14:00) <p class="footer"> Version 1.0.0 (11 apr 2021 - 8:00)
</div> </div>
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
{% endif %} {% endif %}
<td> <td>
{% if user.is_authenticated %}
{% if task.get_quality_remarks %} {% if task.get_quality_remarks %}
<a class="open-modal btn btn-warning btn-sm" <a class="open-modal btn btn-warning btn-sm"
href="{% url 'annotate-quality' task.id my_tasks.number %}" href="{% url 'annotate-quality' task.id my_tasks.number %}"
...@@ -56,6 +57,7 @@ ...@@ -56,6 +57,7 @@
<i class="fas fa-pen-alt"></i> <i class="fas fa-pen-alt"></i>
</a>&nbsp; </a>&nbsp;
{% endif %} {% endif %}
{% endif %}
</td> </td>
<td>{{ task.quality|default_if_none:"-" }}</td> <td>{{ task.quality|default_if_none:"-" }}</td>
<td>{% include "taskdatabase/validation/validation_buttons.html" %}</td> <td>{% include "taskdatabase/validation/validation_buttons.html" %}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment