Skip to content
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

Fix exclaimation icon in project table #4243

Merged
merged 1 commit into from
Dec 5, 2024
Merged
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
5 changes: 2 additions & 3 deletions hypha/apply/projects/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from django.utils.text import slugify
from django.utils.translation import gettext_lazy as _
from django_tables2.utils import A
from heroicons.templatetags.heroicons import heroicon_outline

from hypha.apply.funds.tables import LabeledCheckboxColumn

Expand Down Expand Up @@ -189,9 +190,7 @@ def render_reporting(self, record):
return "Up to date"

if record.report_config.has_very_late_reports():
display = (
'<svg class="icon"><use xlink:href="#exclamation-point"></use></svg>'
)
display = f"<span class='text-red-500 inline-block align-text-bottom me-1'>{heroicon_outline(name='exclamation-triangle', size=20)}</span>"
else:
display = ""

Expand Down
Loading