Fix email bug.(no image error)
This commit is contained in:
parent
4bde53c484
commit
27deea2610
|
@ -175,7 +175,7 @@
|
|||
<div class="ep-content-item">
|
||||
<a class="ep-content-title" href="<%= page + "/" + topic.to_param %>" target="_blank"><%= topic.title %></a>
|
||||
<div class="ep-img" style="width: 40%; float:left;">
|
||||
<img src="<%= siteurl + "/" + topic.image.thumb.url %>" style="width: 100%;">
|
||||
<img src="<%= (siteurl + "/" + topic.image.thumb.url rescue nil) %>" style="width: 100%;">
|
||||
</div>
|
||||
<div class="ep-con" style="width: 58%; float: right;">
|
||||
<% t = strip_tags(topic.content) %>
|
||||
|
|
Loading…
Reference in New Issue