X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/0c57fd826a58a217f499b5084c837fb8ef3f6d4f..dca8878022514685dba90359231cdfb872cab1cb:/src/editor/modules/documentCanvas/canvas/comments/comment.html diff --git a/src/editor/modules/documentCanvas/canvas/comments/comment.html b/src/editor/modules/documentCanvas/canvas/comments/comment.html index 3e9fb28..ca15b77 100644 --- a/src/editor/modules/documentCanvas/canvas/comments/comment.html +++ b/src/editor/modules/documentCanvas/canvas/comments/comment.html @@ -1,8 +1,10 @@ <div class="comment"> - <div class="header"> - <span class="author"><%= author %></span> - <span class="date"><%= date %></span> - </div> + <% if(author || date) { %> + <div class="header"> + <span class="author"><%= author %></span> + <span class="date"><%= date %></span> + </div> + <% } %> <div style="clear: both"></div> <div class="content"> <%= content %>