new_discussion_topic.summary.mustache 387 B

12345678910
  1. <% define_content :link do %>
  2. <%= polymorphic_url([asset.context, asset]) %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t :subject, "New Discussion - %{discussion_topic}: %{course}", :discussion_topic => asset.title, :course => asset.context.name %>
  6. <% end %>
  7. <%= CanvasTextHelper.truncate_text(html_to_text(asset.message, :base_url => dashboard_url), :max_length => 200) %>