Skip to content

Commit 73c65de

Browse files
committed
Update descriptions on form
1 parent d8d5a80 commit 73c65de

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

app/grandchallenge/evaluation/templates/evaluation/configure_algorithm_phases_form.html

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,33 @@
2121
{% block content %}
2222
<h3>Configure algorithm submission phases</h3>
2323
<p>Select the phases you would like to turn into algorithm submission phases.</p>
24-
<p>This will create an archive for each selected phase, and populate the inference time limit, gpu type choices and memory requirements based on the corresponding challenge request.</p>
25-
<p>To configure algorithm interfaces for each phase, please visit the phase settings after this step.</p>
24+
25+
<p>
26+
This will create an archive for each selected phase, and populate the inference time limit, gpu type choices and memory requirements based on the corresponding challenge request:
27+
{% if challenge_request %}
28+
<a href="{% url 'challenges:requests-detail' pk=challenge_request.pk %}">
29+
[{{ challenge_request.short_name }}] {{ challenge_request.title }}
30+
</a>
31+
{% else %}
32+
No corresponding challenge request.
33+
{% endif %}
34+
</p>
35+
2636
{% if challenge_request %}
27-
<p>The challenge is linked to the following challenge request: {{ challenge_request.short_name }}</p>
2837
<ul>
2938
{% for field, value in challenge_request.budget_fields.items %}
3039
<li><span class="font-weight-bold">{{ field|capfirst }}</span>: {{ value }}</li>
3140
{% endfor %}
3241
</ul>
33-
<p>
34-
Provide the task ID for each selected phase.
35-
</p>
42+
{% if challenge_request.task_ids|length > 1 %}
43+
<p>
44+
This challenge request defines multiple tasks. Please provide the corresponding task id for each selected phase.
45+
</p>
46+
{% endif %}
3647
{% endif %}
48+
49+
<p>To configure algorithm interfaces for each phase, please visit the phase settings after this step.</p>
50+
3751
{% crispy form %}
3852
{% endblock %}
3953

0 commit comments

Comments
 (0)