Skip to content
Snippets Groups Projects
Commit 0bf58980 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix avatar at the bottom of commenting form.

Use the common Comments.avatar method to generate the <img> tag,
giving us the same default avatar that we use everywhere.
parent 6500ce66
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ Ext.define('Docs.view.comments.Form', { ...@@ -32,8 +32,7 @@ Ext.define('Docs.view.comments.Form', {
'</tpl>', '</tpl>',
'<textarea>{content}</textarea>', '<textarea>{content}</textarea>',
'<div class="com-meta">', '<div class="com-meta">',
'<img class="avatar" width="25" height="25"', '{[Docs.Comments.avatar(values.user.emailHash)]}',
' src="http://www.gravatar.com/avatar/{user.emailHash}?s=25&amp;r=PG&amp;d=http://www.sencha.com/img/avatar.png">',
'<div class="form-author">Logged in as {user.userName}</div>', '<div class="form-author">Logged in as {user.userName}</div>',
'<tpl if="!updateComment">', '<tpl if="!updateComment">',
'<label class="subscribe">', '<label class="subscribe">',
......
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