bring back sender avatar
This commit is contained in:
parent
575748169e
commit
364502a134
1 changed files with 5 additions and 4 deletions
|
|
@ -1,9 +1,10 @@
|
||||||
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;">
|
<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;">
|
||||||
<tr width="100%">
|
<tr width="100%">
|
||||||
<% if @sender %>
|
<% if @notification.try(:sender) %>
|
||||||
<td style="vertical-align:top;" width="80px">
|
<td style="vertical-align:top;" width="60px">
|
||||||
<div style="background-color:#eee;height:70px;width:70px;">
|
<div style="background-color:#eee; height:50px; width:50px;">
|
||||||
<img alt="<%=@sender.name%>" src="<%=@sender.profile.image_url(:medium)%>" style="border:0;display:block;display:relative;top:0;left:0;" height="70px" width="70px">
|
<img alt="<%=@notification.sender%>" src="<%=@notification.sender.profile.image_url(:thumb_small)%>"
|
||||||
|
style="border:0; display:block; top:0; left:0;" height="50px" width="50px">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue