Show user_submitted column, remove committed column from QSO table
This commit is contained in:
parent
6fbec7ea9b
commit
341a04190a
1 changed files with 1 additions and 3 deletions
|
|
@ -176,12 +176,10 @@ defmodule MicrowavepropWeb.QsoLive.Index do
|
|||
<:col :let={qso} label="Band" sort_field="band">{qso.band}</:col>
|
||||
<:col :let={qso} label="Mode" sort_field="mode">{qso.mode}</:col>
|
||||
<:col :let={qso} label="Distance (km)" sort_field="distance_km">{qso.distance_km}</:col>
|
||||
<:col :let={qso} label="Submitted">{if qso.user_submitted, do: "Yes", else: "—"}</:col>
|
||||
<:col :let={qso} label="Timestamp" sort_field="qso_timestamp">
|
||||
{Calendar.strftime(qso.qso_timestamp, "%Y-%m-%d %H:%M")}
|
||||
</:col>
|
||||
<:col :let={qso} label="Committed" sort_field="inserted_at">
|
||||
{Calendar.strftime(qso.inserted_at, "%Y-%m-%d %H:%M")}
|
||||
</:col>
|
||||
</.table>
|
||||
<% end %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue