discourse/plugins/chat/app/views/user_notifications/chat_summary.text.erb
Roman Rizzi 0a5f548635
DEV: Move discourse-chat to the core repo. (#18776)
As part of this move, we are also renaming `discourse-chat` to `chat`.
2022-11-02 10:41:30 -03:00

16 lines
971 B
Plaintext

<%- site_link = raw(@markdown_linker.create(@site_name, '/')) %>
<%= t('user_notifications.chat_summary.description', count: @messages.size,) %>
<%= raw(@markdown_linker.create(t("user_notifications.chat_summary.view_messages", count: @messages.size), "/chat")) %>
<%- if @unsubscribe_link %>
<%= raw(t :'user_notifications.chat_summary.unsubscribe',
site_link: site_link,
email_preferences_link: @markdown_linker.create(t('user_notifications.chat_summary.your_chat_settings'), @preferences_path),
unsubscribe_link: @markdown_linker.create(t('user_notifications.digest.click_here'), @unsubscribe_link)) %>
<%- else %>
<%= raw(t :'user_notifications.chat_summary.unsubscribe_no_link',
site_link: site_link,
email_preferences_link: @markdown_linker.create(t('user_notifications.chat_summary.your_chat_settings'), @preferences_path)) %>
<%- end %>
<%= raw(@markdown_linker.references) %>