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:
Dan Minkevitch 2016-12-12 13:33:28 -08:00
parent f30ef06a83
commit 74794dc8d0
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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>