mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Small improvements to digest emails and preview mechanism.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<p>{{i18n admin.email.preview_digest_desc}}</p>
|
||||
|
||||
<div class='admin-controls'>
|
||||
<div class='span7 controls'>
|
||||
<label for='last-seen'>{{i18n admin.email.last_seen_user}}</label>
|
||||
|
||||
@@ -14,7 +14,7 @@ Discourse.View.reopenClass({
|
||||
/**
|
||||
Register a view helper for ease of use
|
||||
|
||||
@method registerHElper
|
||||
@method registerHelper
|
||||
@param {String} helperName the name of the helper
|
||||
@param {Ember.View} helperClass the view that will be inserted by the helper
|
||||
**/
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<%= raw(@markdown_linker.create(t.title, t.relative_url)) %>
|
||||
|
||||
<%- if t.best_post.present? %>
|
||||
<%= raw(t.best_post.excerpt(1000,
|
||||
<div class='digest-post'><%= raw(t.best_post.excerpt(1000,
|
||||
strip_links: true,
|
||||
text_entities: true,
|
||||
markdown_images: true)) %>
|
||||
markdown_images: true)) %></div>
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user