|
|
@ -9,7 +9,7 @@
|
|
|
|
<div class="por_post_left fl">
|
|
|
|
<div class="por_post_left fl">
|
|
|
|
<div class="por_post_leftbar ">
|
|
|
|
<div class="por_post_leftbar ">
|
|
|
|
<% activity = acts.first %>
|
|
|
|
<% activity = acts.first %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<% if get_image_path_from_content(document.content).nil? %>
|
|
|
|
<% if get_image_path_from_content(document.content).nil? %>
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-3.jpg", :width => "299", :height => "246"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank" %>
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-3.jpg", :width => "299", :height => "246"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank" %>
|
|
|
@ -73,7 +73,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<% unless acts[1..5].nil? %>
|
|
|
|
<% unless acts[1..5].nil? %>
|
|
|
|
<% acts[1..5].each do |activity| %>
|
|
|
|
<% acts[1..5].each do |activity| %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<ul class="por_post_list">
|
|
|
|
<ul class="por_post_list">
|
|
|
|
<li><%= link_to "<span class='post_icons_grey fl'></span>#{document.title}".html_safe, org_document_comment_path(:id => document.id, :organization_id => document.organization.id), class: 'por_hidden_w390 link-black', :target => "_blank" %></li>
|
|
|
|
<li><%= link_to "<span class='post_icons_grey fl'></span>#{document.title}".html_safe, org_document_comment_path(:id => document.id, :organization_id => document.organization.id), class: 'por_hidden_w390 link-black', :target => "_blank" %></li>
|
|
|
@ -115,7 +115,7 @@
|
|
|
|
<div class="fl">
|
|
|
|
<div class="fl">
|
|
|
|
<ul class="por_post_right por_post_list">
|
|
|
|
<ul class="por_post_right por_post_list">
|
|
|
|
<% acts[6..19].each do |activity| %>
|
|
|
|
<% acts[6..19].each do |activity| %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %>
|
|
|
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<% document = activity.org_act %>
|
|
|
|
<li><%= link_to "<span class='post_icons_grey fl'></span>#{document.title}".html_safe, org_document_comment_path(:id => document.id, :organization_id => document.organization.id), class: 'por_hidden_w270 link-black', :target => "_blank" %></li>
|
|
|
|
<li><%= link_to "<span class='post_icons_grey fl'></span>#{document.title}".html_safe, org_document_comment_path(:id => document.id, :organization_id => document.organization.id), class: 'por_hidden_w270 link-black', :target => "_blank" %></li>
|
|
|
|
<% else activity.container_type == 'OrgSubfield' %>
|
|
|
|
<% else activity.container_type == 'OrgSubfield' %>
|
|
|
|