Skip to content

OKRS24-170 #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/signal_documentation/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"""
import os
import sys
from distutils.util import strtobool
from pathlib import Path
from typing import Any

Expand Down
27 changes: 15 additions & 12 deletions src/templates/signals/signal_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ <h5>About this signal</h5>
<td>
<ul class="no-padding">
{% for pathogen in signal.pathogen.all %}
<span
class="badge rounded-pill bg-dark"
>{{ pathogen|title }}</span
>
<a href="{% url 'signals' %}?pathogen={{ pathogen.id }}">
<span class="badge rounded-pill bg-dark">
{{ pathogen|title }}
</span>
</a>
{% endfor %}
</ul>
</td>
Expand All @@ -86,10 +87,11 @@ <h5>About this signal</h5>
<td>
<ul class="no-padding">
{% for geography in signal.available_geography.all %}
<span
class="badge rounded-pill bg-dark"
>{{ geography }}</span
>
<a href="{% url 'signals' %}?available_geography={{ geography.id }}">
<span class="badge rounded-pill bg-dark">
{{ geography }}
</span>
</a>
{% endfor %}
</ul>
</td>
Expand All @@ -99,10 +101,11 @@ <h5>About this signal</h5>
<td>
<ul class="no-padding">
{% for signal_type in signal.signal_type.all %}
<span
class="badge rounded-pill bg-dark"
>{{ signal_type }}</span
>
<a href="{% url 'signals' %}?signal_type={{ signal_type.id }}">
<span class="badge rounded-pill bg-dark">
{{ signal_type }}
</span>
</a>
{% endfor %}
</ul>
</td>
Expand Down
Loading