+
<%= format_time(journal.created_on) %>
diff --git a/app/views/courses/feedback.html.erb b/app/views/courses/feedback.html.erb
index b7713c4a9..0a8458a22 100644
--- a/app/views/courses/feedback.html.erb
+++ b/app/views/courses/feedback.html.erb
@@ -1,9 +1,10 @@
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
-
用户留言
+ <%= l(:label_contest_userresponse) %>
+
<%= render :partial => 'courses_jours',
:locals => { :contest => @contest, :journals => @jour, :state => false}
%>
@@ -12,7 +13,7 @@
diff --git a/app/views/tags/_course_attachment_tag_name.erb b/app/views/tags/_course_attachment_tag_name.erb
new file mode 100644
index 000000000..699f7208f
--- /dev/null
+++ b/app/views/tags/_course_attachment_tag_name.erb
@@ -0,0 +1,56 @@
+
+
+<% @tags = obj.reload.tag_list %>
+<% if non_list_all and (@tags.size > 0) %>
+
+ <% if @tags.size > Setting.show_tags_length.to_i then %>
+ <% i = 0 %>
+ <% until i>Setting.show_tags_length.to_i do %>
+
+ <%= link_to @tags[i], :controller => "tags", :action => "index", :q => @tags[i], :object_flag => object_flag, :obj_id => obj.id %>
+
+ <% i += 1 %>
+ <% end %>
+ <%= more_tags(obj.id,object_flag)%>
+ <% else %>
+ <% @tags.each do |tag| %>
+
+ <%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %>
+
+ <% end %>
+ <% end %>
+<% else %>
+
+ <% if @tags.size > 0 %>
+ <% @tags.each do |tag| %>
+
+
+ <%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %>
+
+ <% case object_flag %>
+ <% when '10' %>
+ <%# if (User.current.logged? &&
+ User.current.admin?
+ # && (@project && User.current.member_of?(@project))
+ )
+ %>
+ <% if obj.author_id == User.current.id || User.current.admin?%>
+
+ <%= link_to 'x', :controller => "tags", :action => "remove_tag", :remote => true, :tag_name => tag,
+ :taggable_id => obj.id, :taggable_type => object_flag %>
+
+ <% end %>
+ <% end %>
+
+
+ <% end %>
+ <% end %>
+<% end %>
\ No newline at end of file
diff --git a/app/views/tags/_tag_list.html.erb b/app/views/tags/_tag_list.html.erb
index 549ed1751..e18dafd7d 100644
--- a/app/views/tags/_tag_list.html.erb
+++ b/app/views/tags/_tag_list.html.erb
@@ -5,7 +5,12 @@
<%= link_to tag, :controller => "tags", :action => "index", :q => tag, :object_flag => object_flag, :obj_id => obj.id %>
<% case object_flag %>
- <% when '6' %>
+ <% when '10' %>
+ <% if obj.author_id == User.current.id || User.current.admin?%>
+ <%= link_to 'x', :controller => "tags", :action => "remove_tag_new", :remote => true, :tag_name => tag,
+ :taggable_id => obj.id, :taggable_type => object_flag %>
+ <% end %>
+ <% when '6' %>
<% if obj.author_id == User.current.id || User.current.admin?%>
<%= link_to 'x', :controller => "tags", :action => "remove_tag_new", :remote => true, :tag_name => tag,
:taggable_id => obj.id, :taggable_type => object_flag %>
diff --git a/app/views/tags/_tag_new.html.erb b/app/views/tags/_tag_new.html.erb
index eb49005ae..0d5d371e3 100644
--- a/app/views/tags/_tag_new.html.erb
+++ b/app/views/tags/_tag_new.html.erb
@@ -12,6 +12,13 @@
<% if object_flag == '3' %>
+ <% elsif object_flag == '10' %>
+
+ <%= render :partial => "tags/tag_list",:locals => {:obj => obj,:object_flag => object_flag} %>
+
+
+ <%= render :partial => "courses/course_resources_html", :locals => {:obj => obj ,:object_flag => object_flag } %>
+
<% elsif object_flag == '6' %>
-
- <% if reply_allow %>
- <% if journal.jour_type == "Course" %>
- <%= render :partial => "words/new_respond_course", :locals => {:journal => journal, :m_reply_id => m_reply_id,:show_name => show_name} %>
- <% else %>
- <%= render :partial => "words/new_respond", :locals => {:journal => journal, :m_reply_id => m_reply_id,:show_name => show_name} %>
- <% end %>
- <% end %>
-
-
+