mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Server side quote templates don't seem to be used?
This commit is contained in:
parent
d34334ecbe
commit
2e4d43364a
3 changed files with 0 additions and 17 deletions
|
@ -1,2 +0,0 @@
|
|||
NEEDS FIXING
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<table cellspacing="0" cellpadding="0" style="border: 1px solid #eee; -webkit-border-radius: 10px;">
|
||||
<tr>
|
||||
<th style="text-align:left; background-color: #eee; padding: 5px">{{{avatarImg}}} {{username}}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding: 10px; background-color: #f9f9f9">{{{quote}}}</td>
|
||||
</tr>
|
||||
</table>
|
|
@ -114,13 +114,6 @@ module PrettyText
|
|||
end
|
||||
end
|
||||
|
||||
ctx['quoteTemplate'] = File.read("#{app_root}/app/assets/javascripts/discourse/templates/quote.hbs")
|
||||
ctx['quoteEmailTemplate'] = File.read("#{app_root}/lib/assets/quote_email.hbs")
|
||||
ctx.eval("HANDLEBARS_TEMPLATES = {
|
||||
'quote': Handlebars.compile(quoteTemplate),
|
||||
'quote_email': Handlebars.compile(quoteEmailTemplate),
|
||||
};")
|
||||
|
||||
ctx
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue