mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
display message count
This commit is contained in:
parent
3e4cad2c7d
commit
306c954546
2 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,9 @@ h1 My Conversations
|
|||
=> link c.title, to: Routes.conversation_path(@conn, :show, c)
|
||||
|
||||
.small-text.hide-mobile
|
||||
' Started
|
||||
=> count
|
||||
= pluralize("message", "messages", count)
|
||||
' ; started
|
||||
= pretty_time(c.created_at)
|
||||
' , last message
|
||||
= pretty_time(c.last_message_at)
|
||||
|
|
|
@ -12,6 +12,9 @@ h1 = @conversation.title
|
|||
' Conversation with
|
||||
=> render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: other}, conn: @conn
|
||||
.block__header--sub.block__header--light
|
||||
span.block__header__title>
|
||||
=> @messages.total_entries
|
||||
= pluralize("message", "messages", @messages.total_entries)
|
||||
= pagination
|
||||
= link "Remove conversation", to: Routes.conversation_hide_path(@conn, :create, @conversation), data: [method: "post", confirm: "Are you really, really sure?"]
|
||||
= link "Report conversation", to: Routes.conversation_report_path(@conn, :new, @conversation)
|
||||
|
|
Loading…
Reference in a new issue