Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ViditChitkara committed Jul 21, 2018
1 parent 68cc8c3 commit 8b7cfea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/subscription_mailer/send_digest.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
</td>
</tr>
<tr>
<td <% if n.main_image.present? %> colspan="2" <% end %> style="padding-bottom: 30px;">
<td <% unless n.main_image.present? %> colspan="2" <% end %> style="padding-bottom: 30px;">
<p style="font-size: 1.1em;line-height: 1.5;text-align: justify;font-weight: 300;"><%= n.body.truncate(175) %><a href="https://publiclab.org<%= n.path %>" style="text-decoration: none;"> Read more</a></p>
</td>
<% if n.main_image.present? %>
<td style="padding-bottom: 30px;">
<img src="https://publiclab.org/system/images/photos/000/022/879/original/geGuqxuCSrSFzCw7ZSHShQ.jpg" style="width: 90px;height: 90px;border-radius: 5px;margin-left: 14px;">
<img src="<%= node.main_image.path(:default) %>" style="width: 90px;height: 90px;border-radius: 5px;margin-left: 14px;">
</td>
<% end %>
</tr>
Expand Down

0 comments on commit 8b7cfea

Please sign in to comment.