-
- style="<% if (item.get('usercolor')!==null) { %> border-color:<%=item.get('usercolor')%>; border-style:solid;<% }%>"
+ style="background-image: url(<%=item.get('avatar')%>); <% if (item.get('usercolor')!==null) { %> border-color:<%=item.get('usercolor')%>; border-style:solid;<% }%>"
<% } else { %>
style="background-color: <% if (item.get('usercolor')!==null) { %> <%=item.get('usercolor')%> <% } else { %> #cfcfcf <% }%>;"
<% } %>
- >
- <% if (item.get("avatar")) { %>
-
" />
- <% } else { %>
- <%=item.get("initials")%>
- <% } %>
-
+ ><% if (!item.get("avatar")) { %><%=item.get("initials")%><% } %>
<%= scope.getEncodedName(item.get("parsedName")) %>
<%=item.get("date")%>
diff --git a/apps/common/main/lib/template/CommentsPopover.template b/apps/common/main/lib/template/CommentsPopover.template
index 15384bc764..29bc93c28f 100644
--- a/apps/common/main/lib/template/CommentsPopover.template
+++ b/apps/common/main/lib/template/CommentsPopover.template
@@ -6,17 +6,11 @@
- style="<% if (usercolor!==null) { %> border-color:<%=usercolor%>; border-style:solid;<% }%>"
- <% } else { %>
- style="background-color: <% if (usercolor!==null) { %> <%=usercolor%> <% } else { %> #cfcfcf <% }%>;"
- <% } %>
- >
- <% if (avatar) { %>
-
+ style="background-image: url(<%=avatar%>); <% if (usercolor!==null) { %> border-color:<%=usercolor%>; border-style:solid;<% }%>"
<% } else { %>
- <%=initials%>
+ style="background-color: <% if (usercolor!==null) { %> <%=usercolor%> <% } else { %> #cfcfcf <% }%>;"
<% } %>
-
+ ><% if (!avatar) { %><%=initials%><% } %>
<%= scope.getEncodedName(parsedName) %>
<%=date%>
@@ -47,19 +41,13 @@
<% } %>
-
- style="<% if (item.get('usercolor')!==null) { %> border-color:<%=item.get('usercolor')%>; border-style:solid;<% }%>"
- <% } else { %>
- style="background-color: <% if (item.get('usercolor')!==null) { %> <%=item.get('usercolor')%> <% } else { %> #cfcfcf <% }%>;"
- <% } %>
- >
- <% if (item.get("avatar")) { %>
-
" />
- <% } else { %>
- <%=item.get("initials")%>
- <% } %>
-
+
+ style="background-image: url(<%=item.get('avatar')%>); <% if (item.get('usercolor')!==null) { %> border-color:<%=item.get('usercolor')%>; border-style:solid;<% }%>"
+ <% } else { %>
+ style="background-color: <% if (item.get('usercolor')!==null) { %> <%=item.get('usercolor')%> <% } else { %> #cfcfcf <% }%>;"
+ <% } %>
+ ><% if (!item.get("avatar")) { %><%=item.get("initials")%><% } %>
<%= scope.getEncodedName(item.get("parsedName")) %>
<%=item.get("date")%>
diff --git a/apps/common/main/lib/template/ReviewChangesPopover.template b/apps/common/main/lib/template/ReviewChangesPopover.template
index a41f008bfd..b89bced635 100644
--- a/apps/common/main/lib/template/ReviewChangesPopover.template
+++ b/apps/common/main/lib/template/ReviewChangesPopover.template
@@ -1,19 +1,13 @@