fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: Hide comment header if there is nothing to show in it
[fnpeditor.git]
/
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
(file)
--- 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="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 %>
<div style="clear: both"></div>
<div class="content">
<%= content %>