Remove truncation from wiki page update notification
Fixes CNVS-33314 Test Plan: * Prereq: notification settings enabled for a user enrolled in a course and an email communication channel confirmed * Create a page * Include long enough text to where it is truncated * Save the page * Notice the notification about the page is no longer truncated Change-Id: I2819a2c23063f611a13920def7db4385e5327c34 Reviewed-on: https://gerrit.instructure.com/97388 Reviewed-by: Jeremy Stanley <jeremy@instructure.com> Tested-by: Jenkins QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com> Product-Review: Chris Ward <cward@instructure.com>
This commit is contained in:
parent
f30ef06a83
commit
74794dc8d0
|
@ -10,7 +10,7 @@
|
|||
|
||||
<%= asset.title.titleize %>
|
||||
|
||||
<%= CanvasTextHelper.truncate_text(html_to_text(asset.body, :base_url => dashboard_url), :max_length => 200) %>
|
||||
<%= html_to_text(asset.body, :base_url => dashboard_url) %>
|
||||
|
||||
|
||||
<%= t :link_message, "You can review it here: %{link}", :link => content(:link) %>
|
||||
|
|
|
@ -16,4 +16,4 @@
|
|||
|
||||
<p><strong><%= html_to_text(asset.title).titleize %></strong></p>
|
||||
|
||||
<p><%= CanvasTextHelper.truncate_text(html_to_text(asset.body, :base_url => dashboard_url), :max_length => 200) %></p>
|
||||
<p><%= html_to_text(asset.body, :base_url => dashboard_url) %></p>
|
Loading…
Reference in New Issue