Show flag emoji on contacts list for flagged_invalid contacts
This commit is contained in:
parent
ad1b01807c
commit
d1b1b4cc7e
1 changed files with 4 additions and 1 deletions
|
|
@ -150,6 +150,7 @@ defmodule MicrowavepropWeb.ContactLive.Index do
|
|||
<th>Distance (km)</th>
|
||||
<th>Submitted</th>
|
||||
<th>Enriched</th>
|
||||
<th></th>
|
||||
<th>Timestamp (UTC)</th>
|
||||
<th>Added (UTC)</th>
|
||||
</tr>
|
||||
|
|
@ -157,7 +158,7 @@ defmodule MicrowavepropWeb.ContactLive.Index do
|
|||
<tbody>
|
||||
<%= for {primary, reciprocals} <- @grouped_contacts do %>
|
||||
<tr class="h-1">
|
||||
<td colspan="12"></td>
|
||||
<td colspan="13"></td>
|
||||
</tr>
|
||||
<tr
|
||||
class={[
|
||||
|
|
@ -184,6 +185,7 @@ defmodule MicrowavepropWeb.ContactLive.Index do
|
|||
<td>{primary.distance_km}</td>
|
||||
<td>{if primary.user_submitted, do: "Yes", else: "—"}</td>
|
||||
<td>{enrichment_badge(primary)}</td>
|
||||
<td class="text-center">{if primary.flagged_invalid, do: "🚩"}</td>
|
||||
<td>{Calendar.strftime(primary.qso_timestamp, "%Y-%m-%d %H:%M")}</td>
|
||||
<td>{Calendar.strftime(primary.inserted_at, "%Y-%m-%d %H:%M")}</td>
|
||||
</tr>
|
||||
|
|
@ -202,6 +204,7 @@ defmodule MicrowavepropWeb.ContactLive.Index do
|
|||
<td>{recip.distance_km}</td>
|
||||
<td>{if recip.user_submitted, do: "Yes", else: "—"}</td>
|
||||
<td>{enrichment_badge(recip)}</td>
|
||||
<td class="text-center">{if recip.flagged_invalid, do: "🚩"}</td>
|
||||
<td>{Calendar.strftime(recip.qso_timestamp, "%Y-%m-%d %H:%M")}</td>
|
||||
<td>{Calendar.strftime(recip.inserted_at, "%Y-%m-%d %H:%M")}</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue