Skip to content
Snippets Groups Projects
Commit 576ad445 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

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

parent adc51a9b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment