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

forgot to switch off some new functionality. And removed the '(old)' string...

forgot to switch off some new functionality. And removed the '(old)' string from the old functionality.
parent 80625543
No related branches found
No related tags found
1 merge request!339SDC-1188 - STEP 1 of 3 (the database)
Pipeline #72020 passed
...@@ -54,16 +54,17 @@ ...@@ -54,16 +54,17 @@
<td> <td>
<!-- keep the old mechanism in comments to test/evaluate, remove later when it works --> <!-- keep the old mechanism in comments to test/evaluate, remove later when it works -->
<!--
{% if task.sas_id_archived != None %} {% if task.sas_id_archived != None %}
<a href={{ task.path_to_lta }} target="_blank"> <a href={{ task.path_to_lta }} target="_blank">
<img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="20" alt="link to LTA"> <img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="20" alt="link to LTA">
{{ task.sas_id_archived }} (old) {{ task.sas_id_archived }}
</a>&nbsp; </a>&nbsp;
{% else %} {% else %}
- -
{% endif %} {% endif %}
-->
<!-- new activity mechanism, to enable SDC-1188
{% if task.activity.archive.sas_id_archived != None %} {% if task.activity.archive.sas_id_archived != None %}
<a href={{ task.path_to_lta }} target="_blank"> <a href={{ task.path_to_lta }} target="_blank">
<img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="20" alt="link to LTA"> <img src="{% static 'taskdatabase/ldvlogo_small.png' %}" height="20" alt="link to LTA">
...@@ -72,6 +73,7 @@ ...@@ -72,6 +73,7 @@
{% else %} {% else %}
- -
{% endif %} {% endif %}
-->
</td> </td>
<td> <td>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<!-- keep the old mechanism in comments to test/evaluate, remove later when it works --> <!-- keep the old mechanism in comments to test/evaluate, remove later when it works -->
<td class="{{ task.calculated_qualities.per_sasid }}">{{ task.calculated_qualities.per_sasid|default_if_none:"-" }} (old)</td> <td class="{{ task.calculated_qualities.per_sasid }}">{{ task.calculated_qualities.per_sasid|default_if_none:"-" }}</td>
<!-- new activity mechanism, to enable SDC-1188 <!-- new activity mechanism, to enable SDC-1188
<td class="{{ task.activity.calculated_quality }}">{{ task.activity.calculated_quality|default_if_none:"-" }}</td> <td class="{{ task.activity.calculated_quality }}">{{ task.activity.calculated_quality|default_if_none:"-" }}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment