From 170f42a23e32a54bc0783c5e96aa9e7cb8927072 Mon Sep 17 00:00:00 2001 From: kaiyou <pierre@jaury.eu> Date: Tue, 17 Mar 2020 16:23:54 +0100 Subject: [PATCH] Properly display unclaimed profiles --- hiboo/profile/templates/profile_list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hiboo/profile/templates/profile_list.html b/hiboo/profile/templates/profile_list.html index fb14db70..50f44950 100644 --- a/hiboo/profile/templates/profile_list.html +++ b/hiboo/profile/templates/profile_list.html @@ -29,6 +29,8 @@ {% if profile.user_uuid %} <td><a href="{{ url_for("profile.details", profile_uuid=profile.uuid) }}">{{ profile.username }}</a></td> <td><a href="{{ url_for("user.details", user_uuid=profile.user_uuid) }}">{{ profile.user.username }}</a></td> + {% else %} + <td>-</td><td>-</td> {% endif %} <td>{{ profile.status }}</td> <td>{{ profile.created_at.date() }}</td> -- GitLab