Skip to content

Commit

Permalink
extra cleanups / make things more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
underdarknl committed Jan 13, 2025
1 parent 27a0709 commit bc8957f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions rocky/rocky/templates/oois/ooi_detail_origins_inference.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ <h2>{% translate "Inferred by" %}</h2>
<a href="{% ooi_url 'ooi_detail' inference.origin.source organization.code %}">{{ inference.origin.source }}</a>
</td>
<td>
{% for param in params %}
<a href="{% ooi_url 'ooi_detail' param.reference organization.code %}">{{ param.reference }}</a>
<br>
{% endfor %}
<ul>
{% for param in params %}
<li>
<a href="{% ooi_url 'ooi_detail' param.reference organization.code %}">{{ param.reference }}</a>
</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion rocky/rocky/templates/tasks/ooi_detail_task_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h2>{% translate "Tasks" %}</h2>
{% ooi_url 'ooi_detail' ooi.primary_key organization.code query=mandatory_fields as this_url %}
{% if not task_list %}
<p class="emphasized">{% translate "There have been no tasks" %}</p>
<p class="emphasized">{% translate "There have been no tasks" %}{if active_filters_counter > 0</p>
{% include "tasks/partials/task_filter.html" with clear_filter_url=this_url %}

{% else %}
Expand Down

0 comments on commit bc8957f

Please sign in to comment.