discourse/plugins/chat/app/views/user_notifications/chat_summary.text.erb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
971 B
Plaintext
Raw Normal View History

<%- 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) %>