add conversation options to template (fixes philomena-dev/philomena#106)

This commit is contained in:
byte[] 2021-03-16 20:33:06 -04:00
parent 35e12420af
commit fd064b3a79

View file

@ -16,7 +16,7 @@ h1 = @conversation.title
=> @messages.total_entries
= pluralize("message", "messages", @messages.total_entries)
.page__pagination = pagination
.page__options
.page__info
= if hidden_by?(@current_user, @conversation) do
= link "Restore conversation", to: Routes.conversation_hide_path(@conn, :delete, @conversation), data: [method: "delete"]
- else