mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
table row
This commit is contained in:
parent
f28fcc59d0
commit
4b37a568c4
2 changed files with 13 additions and 12 deletions
|
@ -39,6 +39,6 @@ defmodule PhilomenaWeb.ConversationController do
|
|||
messages =
|
||||
%{messages | entries: Enum.zip(messages.entries, rendered)}
|
||||
|
||||
render(conn, "index.html", conversation: conversation, messages: messages)
|
||||
render(conn, "show.html", conversation: conversation, messages: messages)
|
||||
end
|
||||
end
|
|
@ -16,19 +16,20 @@ h1 My Conversations
|
|||
th.table--communication-list__options Options
|
||||
tbody
|
||||
= for c <- @conversations do
|
||||
td.table--communication-list__name
|
||||
=> link c.title, to: Routes.conversation_path(@conn, :show, c)
|
||||
tr
|
||||
td.table--communication-list__name
|
||||
=> link c.title, to: Routes.conversation_path(@conn, :show, c)
|
||||
|
||||
.small-text.hide-mobile
|
||||
' Started
|
||||
= pretty_time(c.created_at)
|
||||
' , last message
|
||||
= pretty_time(c.last_message_at)
|
||||
.small-text.hide-mobile
|
||||
' Started
|
||||
= pretty_time(c.created_at)
|
||||
' , last message
|
||||
= pretty_time(c.last_message_at)
|
||||
|
||||
td.table--communication-list__stats
|
||||
= render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: other_party(@current_user.id, c)}, conn: @conn
|
||||
td.table--communication-list__options
|
||||
| Last message
|
||||
td.table--communication-list__stats
|
||||
= render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: other_party(@current_user.id, c)}, conn: @conn
|
||||
td.table--communication-list__options
|
||||
| Last message
|
||||
|
||||
.block__header.block__header--light
|
||||
= pagination
|
Loading…
Reference in a new issue