|
|
|
@ -70,8 +70,8 @@
|
|
|
|
|
<%= link_to(btn_tips,new_course_news_path(@course),
|
|
|
|
|
:class => 'problem_new_btn fl c_dorange',
|
|
|
|
|
:onclick => 'showAndScrollTo("add-news", "news_title"); return false;') %>
|
|
|
|
|
|
|
|
|
|
<div id="add-news" class="add_frame" style="display:none;">
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div id="add-news" class="hwork_new" style="display:none;">
|
|
|
|
|
<%= labelled_form_for @news, :url => course_news_index_path(@course),
|
|
|
|
|
:html => {:id => 'news-form', :multipart => true} do |f| %>
|
|
|
|
|
<%= render :partial => 'news/course_form', :locals => {:f => f, :is_new => true} %>
|
|
|
|
@ -118,8 +118,8 @@
|
|
|
|
|
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %>
|
|
|
|
|
<span class="fl"> <%= l(:label_release_news) %>:</span><%= link_to h(news.title), news_path(news),:class => 'problem_tit fl fb c_dblue' %><br />
|
|
|
|
|
<div class="cl mb5"></div>
|
|
|
|
|
<p id="news_description" class="news_description mt5"><%= textilizable(news, :description) %><br /> <%= l(:label_create_time) %> : <%= format_time(news.created_on) %></p>
|
|
|
|
|
<div class="news_foot" onclick="show_more_msg02();"><%= l(:label_expend_information) %> <span class="g-arr-down"><img src="/images/jiantou.jpg" width="12" height="6" /></span></div>
|
|
|
|
|
<div id="news_description_<%= news.id %>" class="news_description mt5"><%= textilizable(news, :description) %><br /> <%= l(:label_create_time) %> :<%= format_time(news.created_on) %></div>
|
|
|
|
|
<div class="news_foot" onclick="news_show_more_des(<%= news.id %>);"><%= l(:label_expend_information) %> <span class="g-arr-down"><img src="/images/jiantou.jpg" width="12" height="6" /></span></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--problem_main end-->
|
|
|
|
|