|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to activity.name.to_s, student_work_index_url_in_org(activity.id), :target => '_blank', :class => "por_course_title link-black", :title => activity.name.to_s %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), student_work_index_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), student_work_index_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), student_work_index_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to activity.parent_id.nil? ? activity.subject : activity.parent.subject, board_message_url_in_org(activity.board_id, activity.id), :target => '_blank', :class => "por_course_title link-black", :title => activity.parent_id.nil? ? activity.subject : activity.parent.subject %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to activity.title.to_s, news_url_in_org(activity.id), :target => '_blank', :class => "por_course_title link-black", :title => activity.title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -59,7 +59,7 @@
|
|
|
|
|
<%= link_to poll_name, Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => '_blank', :class => "por_course_title link-black", :title => poll_name %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), Setting.protocol + "://" + Setting.host_name + "/poll/" + activity.id.to_s + "/poll_result", :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -82,7 +82,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to activity.subject, issue_url_in_org(activity.id), :target => '_blank', :class => "por_course_title link-black", :title => activity.subject %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), issue_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), issue_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), issue_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -96,7 +96,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to subject, board_message_url_in_org(activity.board_id, activity.id), :target => '_blank', :class => "por_course_title link-black", :title => subject %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), board_message_url_in_org(activity.board_id, activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -109,7 +109,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to activity.title.to_s, news_url_in_org(activity.id), :target => '_blank', :class => "por_course_title link-black", :title => activity.title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), news_url_in_org(activity.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -138,7 +138,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to document.title, org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => '_blank', :class => "por_course_title link-black", :title => document.title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), org_document_comment_path(:id => document.id, :organization_id => document.organization.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -155,7 +155,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to title, board_message_url_in_org(message.board.id, message.id), :target => '_blank', :class => "por_course_title link-black", :title => title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), board_message_url_in_org(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), board_message_url_in_org(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), board_message_url_in_org(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -166,7 +166,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to title, board_message_path(message.board, message.id), :target => '_blank', :class => "por_course_title link-black", :title => title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), board_message_path(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), board_message_path(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), board_message_path(message.board.id, message.id), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -181,7 +181,7 @@
|
|
|
|
|
<div class="por_course_bar fl clear">
|
|
|
|
|
<%= link_to news.title, news_path(news), :target => '_blank', :class => "por_course_title link-black", :title => news.title %>
|
|
|
|
|
<% if iamge_path.nil? %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/left-02.jpg", :width => "140", :height => "100"), news_path(news), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<%= link_to image_tag("/images/default_blank/mo-2.jpg", :width => "140", :height => "100"), news_path(news), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to image_tag("/files/uploads/image#{iamge_path}", :width => "140", :height => "100"), news_path(news), :target => "_blank", :class =>"fl" %>
|
|
|
|
|
<% end %>
|
|
|
|
|