Commit 576ad445 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace all occurs of {{created_at}} at project wall

parent adc51a9b
...@@ -60,7 +60,7 @@ class Wall ...@@ -60,7 +60,7 @@ class Wall
renderNote: (note) -> renderNote: (note) ->
template = @noteTemplate() template = @noteTemplate()
template = template.replace('{{author_name}}', note.author.name) template = template.replace('{{author_name}}', note.author.name)
template = template.replace('{{created_at}}', note.created_at) template = template.replace(/{{created_at}}/g, note.created_at)
template = template.replace('{{text}}', linkify(sanitize(note.body))) template = template.replace('{{text}}', linkify(sanitize(note.body)))
if note.attachment if note.attachment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment