parent
d1435e07d4
commit
1b97361ec6
|
@ -173,10 +173,6 @@
|
|||
<%= pagination_links_full @reply_pages, @reply_count, :per_page_links => false %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
||||
|
||||
|
||||
<% if !@topic.locked? && authorize_for_course('messages', 'reply') %>
|
||||
<div id="reply" style="display:none;">
|
||||
<%= form_for @reply, :as => :reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<script src="/javascripts/ckeditor/ckeditor.js?1404953555" type="text/javascript"></script>
|
||||
<%= error_messages_for 'message' %>
|
||||
<% replying ||= false %>
|
||||
|
||||
|
@ -22,18 +23,24 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
</p>
|
||||
<p><label for="message_subject"><%= l(:field_description) %><span class="required"> * </span></label>
|
||||
<p>
|
||||
<label for="message_subject"><%= l(:field_description) %>
|
||||
<span class="required"> * </span></label>
|
||||
<div id="message_quote" class="wiki" style="width: 100%;word-break: break-all;word-wrap: break-word;"></div>
|
||||
<%= text_area :quote,:quote,:style => 'display:none' %>
|
||||
</p>
|
||||
<p>
|
||||
<%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %>
|
||||
<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %></p>
|
||||
<%= f.text_area :content, :cols => 80, :rows => 13, :class => 'wiki-edit', :id => 'message_content' %>
|
||||
</p>
|
||||
|
||||
<!--[eoform:message]-->
|
||||
|
||||
<p><%= l(:label_attachment_plural) %><br />
|
||||
<%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %></p>
|
||||
<p>
|
||||
<%= l(:label_attachment_plural) %>
|
||||
<br />
|
||||
<%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= link_to "更多>>", {:controller => 'courses', :action => 'index', :school_id => school_id} %>
|
||||
<%= link_to l(:label_more), {:controller => 'courses', :action => 'index', :school_id => school_id} %>
|
|
@ -161,7 +161,7 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= link_to l(:label_more_information), {:controller => 'contests', :action => 'index'}, :target => "_blank" %>
|
||||
<%= link_to l(:label_more), {:controller => 'contests', :action => 'index'}, :target => "_blank" %>
|
||||
</span>
|
||||
<div class="d-p-projectlist-box">
|
||||
<div class="d-p-projectlist">
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
|
||||
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject">
|
||||
<h3><strong>新开课程</strong></h3>
|
||||
<h3><strong><%= l(:lable_hot_course)%></strong></h3>
|
||||
<% if @school_id %>
|
||||
<% school_course = find_miracle_course(10,7, @school_id) %>
|
||||
<% else %>
|
||||
|
|
|
@ -231,9 +231,6 @@ zh:
|
|||
mail_body_wiki_content_added: "'%{id}' wiki页面已由 %{author} 添加。"
|
||||
mail_subject_wiki_content_updated: "'%{id}' wiki页面已更新。"
|
||||
mail_body_wiki_content_updated: "'%{id}' wiki页面已由 %{author} 更新。"
|
||||
|
||||
|
||||
|
||||
field_name: 名称
|
||||
#added by huang
|
||||
field_tea_name: 教师
|
||||
|
@ -2123,3 +2120,5 @@ zh:
|
|||
label_all_schol: 全部学校
|
||||
label_select_province: 请选择省份
|
||||
label_search_conditions_not_null: 搜索条件不能为空
|
||||
|
||||
lable_hot_course: 活跃课程
|
Loading…
Reference in New Issue