Read about our upcoming Code of Conduct on this issue

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

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

parent 68fb4b08cf80
......@@ -60,7 +60,7 @@ class Wall
renderNote: (note) ->
template = @noteTemplate()
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)))
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