parent
0244008b32
commit
bded9f2e98
@ -1,6 +1,11 @@
|
||||
<div class="cl"></div>
|
||||
<div style="margin-top: 10px">
|
||||
<img src="/images/org_new_style/con-left2.jpg" alt="" class="fl con-left-img"/>
|
||||
<% iamge_path = get_image_path_from_content(activity.content) %>
|
||||
<% if iamge_path.nil? %>
|
||||
<img src="/images/org_new_style/default-img.jpg" alt="" class="fl con-left-img"/>
|
||||
<% else %>
|
||||
<img src="/files/uploads/image<%= iamge_path %>" alt="" class="fl con-left-img"/>
|
||||
<% end %>
|
||||
<%=link_to activity.content.html_safe, organization_path(organization, :org_subfield_id => field.id), :class => "con-left-txt fl" %>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in new issue