<% if (!hide && !filtered) { %>
style="background-image: url(<%=avatar%>); <% if (usercolor!==null) { %> border-color:<%=usercolor%>; border-style:solid;<% }%>" <% } else { %> style="background-color: <% if (usercolor!==null) { %> <%=usercolor%> <% } else { %> #cfcfcf <% }%>;" <% } %> ><% if (!avatar) { %><%-initials%><% } %>
<% if (quote!==null && quote!=='') { %>
<%=scope.getFixedQuote(quote)%>
<% } %> <% if (!editText || scope.viewmode) { %>
<%=scope.pickLink(comment)%>
<% } else { %>
<% } %> <% var add_arrow = true; %> <% if (replys.length) { %> <% _.each(replys, function (item, index) { %> <% if (!item.get("hide")) { %> <% if (add_arrow) { add_arrow = false; %>
<% } %>
style="padding-bottom: 0;" <% } %>> <% if (!item.get("editText")) { %>
<%=scope.pickLink(item.get("reply"))%>
<% if (!scope.viewmode) { %>
<% if (item.get("editable")) { %>
">
<% } %> <% if (item.get("removable")) { %>
">
<% } %>
<%}%> <% } else { %>
<% } %>
<% } %> <% }); %> <% } %> <% if (!showReply && !scope.viewmode) { %> <% if (replys.length && !add_arrow) { %> <% } else { %> <% } %> <% } %> <% if (!editText && !lock) { %>
<% if (!scope.viewmode) { %> <% if (editable) { %>
<% } %> <% if (removable) { %>
<% } %> <% } %> <% if (editable && !scope.viewmode) { %>
<% } else if ((!editable || scope.viewmode) && resolved) { %>
<% } %>
<% } %> <% if (showReply) { %>
<% } %> <% if (lock) { %>
<%=lockuserid%>
<% } %> <% if (!last) { %>
<% } %>
<% } %>