diff --git a/app/views/homework_common/new.html.erb b/app/views/homework_common/new.html.erb index f5fb595e1..6fc0fff0e 100644 --- a/app/views/homework_common/new.html.erb +++ b/app/views/homework_common/new.html.erb @@ -1,16 +1,17 @@ -<% content_for :header_tags do %> - <%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %> - <%= javascript_include_tag 'homework','baiduTemplate' %> -<% end %> - +<%= javascript_include_tag "/assets/kindeditor/kindeditor" %> <%= error_messages_for 'homework_common' %> - +
+

+ <%= l(:label_course_homework_new)%> +

+
<%= labelled_form_for @homework,:url => {:controller => 'homework_common',:action => 'create'} do |f| %> <%= hidden_field_tag "course",@course.id%> - <%= render :partial => 'homework_common/new_homework_detail_manual_form', :locals => { :homework => @homework,:f => f,:edit_mode => false } %> + <%= render :partial => 'homework_common/homework_detail_manual_form', :locals => { :homework => @homework,:f => f,:edit_mode => false } %> + 提交 + <%#= link_to "上一步", new_homework_common_path(:course => @course.id), :class => "orange_btn_homework fl"%> + <%= link_to '取消',homework_common_index_path(:course => @course.id),:class => 'grey_btn fl'%> <% end%>
- -
diff --git a/app/views/users/_course_message.html.erb b/app/views/users/_course_message.html.erb index f622ad20c..a68aa7575 100644 --- a/app/views/users/_course_message.html.erb +++ b/app/views/users/_course_message.html.erb @@ -61,7 +61,7 @@ <%if count > 2 %>
- 点击展开更多回复(<%= count.to_s%>) + 展开更多
<% end %> diff --git a/app/views/users/_course_news.html.erb b/app/views/users/_course_news.html.erb index 7edc19681..b01bdb791 100644 --- a/app/views/users/_course_news.html.erb +++ b/app/views/users/_course_news.html.erb @@ -35,7 +35,7 @@ <%if count>2 %>
- 点击展开更多回复(<%= count.to_s%>) + 展开更多
<% end %> diff --git a/app/views/users/_project_issue.html.erb b/app/views/users/_project_issue.html.erb index a7a98a396..02a229d23 100644 --- a/app/views/users/_project_issue.html.erb +++ b/app/views/users/_project_issue.html.erb @@ -72,7 +72,7 @@ <% if count > 2 %>
- 点击展开更多回复(<%= count.to_s %>) + 展开更多
<% end %> diff --git a/app/views/users/_project_message.html.erb b/app/views/users/_project_message.html.erb index ebf3d0ad2..7a6060433 100644 --- a/app/views/users/_project_message.html.erb +++ b/app/views/users/_project_message.html.erb @@ -49,7 +49,7 @@ )
<%#=format_date(activity.updated_on)%>
<%if count>2 %> -
点击展开更多回复(<%= count.to_s%>)
+
展开更多
<% end %> diff --git a/app/views/users/_user_activities.html.erb b/app/views/users/_user_activities.html.erb index 18125eaa9..f1529ffb8 100644 --- a/app/views/users/_user_activities.html.erb +++ b/app/views/users/_user_activities.html.erb @@ -9,6 +9,7 @@ span.ke-icon-emoticons:hover{background-position:-79px -671px;width:50px;height:26px;} div.ke-toolbar .ke-outline{border:none;} .ke-inline-block{display: none;} + .ke-container{height: 40px !important;} <% user_activities.each do |user_activity| if user_activities %> @@ -60,7 +61,6 @@ <% end %> <% end %> <% end %> - <% if user_activities.count == 10%> <%= link_to "点击展开更多",user_activities_path(@user.id,:type => type,:page => page),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%> diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb index 4a38e630b..7be8811a4 100644 --- a/app/views/users/_user_homework_form.html.erb +++ b/app/views/users/_user_homework_form.html.erb @@ -15,9 +15,12 @@
<%= calendar_for('homework_end_time')%> +
+

+