@ -14,7 +14,7 @@
<% iamge_path = get_image_path_from_content(activity.description) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), student_work_index_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), student_work_index_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), student_work_index_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -25,7 +25,7 @@
<% iamge_path = get_image_path_from_content(activity.content) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -42,7 +42,7 @@
<% iamge_path = get_image_path_from_content(activity.description) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -58,7 +58,7 @@
<% if ( activity.polls_status==2) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -101,7 +101,7 @@
<% iamge_path = get_image_path_from_content(activity.description) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), issue_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), issue_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), issue_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -112,7 +112,7 @@
<% iamge_path = get_image_path_from_content(activity.content) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -129,7 +129,7 @@
<% iamge_path = get_image_path_from_content(activity.description) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), news_url_in_org(activity.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -172,7 +172,7 @@
<% iamge_path = get_image_path_from_content(document.content) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -190,7 +190,7 @@
<% iamge_path = get_image_path_from_content(content) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), board_message_url_in_org(message.board.id,message.id), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), board_message_url_in_org(message.board.id,message.id), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), board_message_url_in_org(message.board.id,message.id), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -211,7 +211,7 @@
<% iamge_path = get_image_path_from_content(content) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), board_message_path(message.board,activity), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), board_message_path(message.board,activity), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), board_message_path(message.board,activity), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>
@ -230,7 +230,7 @@
<% iamge_path = get_image_path_from_content(news.description) %>
<div class="fcon" style="display: none;">
<% if iamge_path.nil? %>
<%= link_to image_tag("/images/default_blank/banner-default .jpg", :width => "820", :height => "435"), news_path(news), :target => "_blank", :style =>"opacity: 1; " %>
<%= link_to image_tag("/images/default_blank/left_01 .jpg", :width => "820", :height => "435"), news_path(news), :target => "_blank", :style =>"opacity: 1; " %>
<% else %>
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "820", :height => "435"), news_path(news), :target => "_blank", :style =>"opacity: 1; " %>
<% end %>