diff --git a/app/views/training_tasks/_issue_replies.html.erb b/app/views/training_tasks/_issue_replies.html.erb index 029dc2337..7da09f70f 100644 --- a/app/views/training_tasks/_issue_replies.html.erb +++ b/app/views/training_tasks/_issue_replies.html.erb @@ -6,11 +6,11 @@ autoUrl('reply_content_<%= comment.id %>'); }); -
  • +
  • <%= link_to image_tag(url_to_avatar(comment.user), :width => "33", :height => "33"), user_path(comment.user_id), :alt => "用户头像" %>
    -
    +
    <%= render :partial => 'users/news_contents', :locals => {:comment => comment, :type => 'Issue', :user_activity_id => issue.id}%>
    @@ -30,7 +30,7 @@ <%= link_to( l(:button_reply), - {:controller => 'issues', :action => 'reply', :user_id => comment.user_id, :id => issue.id, :journal_id => comment.id}, + {:controller => 'training_tasks', :action => 'reply', :user_id => comment.user_id, :id => issue.id, :journal_id => comment.id}, :remote => true, :method => 'get', :title => l(:button_reply)) %> @@ -38,7 +38,7 @@ <%= link_to( l(:button_delete), - {:controller => 'issues',:action => 'delete_journal', :id => issue.id, :journal_id=>comment.id}, + {:controller => 'training_tasks',:action => 'delete_journal', :id => issue.id, :journal_id=>comment.id}, :method => :get, :remote => true, :id => "delete_reply_#{comment.id}", @@ -56,16 +56,16 @@
  • <% end %> -
    +
    <%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(@training_task.author_id), :alt => "用户头像" %>
    -
    +
    <% if User.current.logged? %>
    - <%= form_for('new_form', :url => add_journal_issue_path(@training_task.id, :is_issue_show => true), :method => "post", :remote => true) do |f| %> + <%= form_for('new_form', :url => add_journal_project_training_task_path(@training_task.id, :is_issue_show => true), :method => "post", :remote => true) do |f| %>
    diff --git a/app/views/training_tasks/show.html.erb b/app/views/training_tasks/show.html.erb index bf4afb093..2ce1fdb16 100644 --- a/app/views/training_tasks/show.html.erb +++ b/app/views/training_tasks/show.html.erb @@ -12,7 +12,7 @@ 新建
    -
    +
    @@ -22,9 +22,9 @@
    -
    +
    -
    +
    <%=render :partial => 'reply_banner' %>